p

java.util

concurrent

package concurrent

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package atomic
  2. package locks

Type Members

  1. abstract class AbstractExecutorService extends ExecutorService
  2. class ArrayBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E] with Serializable
    Annotations
    @SerialVersionUID()
  3. trait BlockingDeque[E] extends BlockingQueue[E] with Deque[E]
  4. trait BlockingQueue[E] extends Queue[E]
  5. class BrokenBarrierException extends Exception
    Annotations
    @SerialVersionUID()
  6. trait Callable[V] extends AnyRef
  7. class CancellationException extends IllegalStateException
  8. class CompletionException extends RuntimeException
    Annotations
    @SerialVersionUID()
  9. trait CompletionService[V] extends AnyRef
  10. class ConcurrentHashMap[K <: AnyRef, V <: AnyRef] extends AbstractMap[K, V] with ConcurrentMap[K, V] with Serializable
    Annotations
    @SerialVersionUID()
  11. class ConcurrentLinkedQueue[E <: AnyRef] extends AbstractQueue[E] with Queue[E] with Serializable
    Annotations
    @SerialVersionUID()
  12. trait ConcurrentMap[K, V] extends Map[K, V]
  13. trait ConcurrentNavigableMap[K, V] extends ConcurrentMap[K, V] with NavigableMap[K, V]
  14. class ConcurrentSkipListSet[E] extends AbstractSet[E] with NavigableSet[E] with Cloneable with Serializable
  15. class CopyOnWriteArrayList[E <: AnyRef] extends List[E] with RandomAccess with Cloneable with Serializable
  16. class CountDownLatch extends AnyRef
  17. abstract class CountedCompleter[T] extends ForkJoinTask[T]
  18. class CyclicBarrier extends AnyRef
  19. trait Delayed extends Comparable[Delayed]
  20. class ExecutionException extends Exception
  21. trait Executor extends AnyRef
  22. class ExecutorCompletionService[V <: AnyRef] extends CompletionService[V]
  23. trait ExecutorService extends Executor with AutoCloseable
  24. class Executors extends AnyRef
  25. class ForkJoinPool extends AbstractExecutorService
  26. abstract class ForkJoinTask[V] extends Future[V] with Serializable
  27. class ForkJoinWorkerThread extends Thread
  28. trait Future[V] extends AnyRef
  29. class FutureTask[V <: AnyRef] extends RunnableFuture[V]
  30. class LinkedBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E] with Serializable
    Annotations
    @SerialVersionUID()
  31. class LinkedTransferQueue[E <: AnyRef] extends AbstractQueue[E] with TransferQueue[E] with Serializable
    Annotations
    @SerialVersionUID()
  32. class PriorityBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E] with Serializable
    Annotations
    @SuppressWarnings() @SerialVersionUID()
  33. abstract class RecursiveAction extends ForkJoinTask[Void]
  34. abstract class RecursiveTask[V] extends ForkJoinTask[V]
  35. class RejectedExecutionException extends RuntimeException
  36. trait RejectedExecutionHandler extends AnyRef
  37. trait RunnableFuture[V] extends Runnable with Future[V]
  38. trait RunnableScheduledFuture[V] extends RunnableFuture[V] with ScheduledFuture[V]
  39. trait ScheduledExecutorService extends ExecutorService
  40. trait ScheduledFuture[V] extends Delayed with Future[V]
  41. class ScheduledThreadPoolExecutor extends ThreadPoolExecutor with ScheduledExecutorService
  42. class Semaphore extends Serializable
    Annotations
    @SerialVersionUID()
  43. class SynchronousQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E] with Serializable
  44. trait ThreadFactory extends AnyRef
  45. class ThreadLocalRandom extends Random
    Annotations
    @SerialVersionUID()
  46. class ThreadPoolExecutor extends AbstractExecutorService
  47. abstract class TimeUnit extends _Enum[TimeUnit]
  48. class TimeoutException extends Exception
  49. trait TransferQueue[E] extends BlockingQueue[E]

Value Members

  1. object ArrayBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  2. object ConcurrentHashMap extends Serializable
    Annotations
    @SerialVersionUID()
  3. object ConcurrentLinkedQueue extends Serializable
    Annotations
    @SerialVersionUID()
  4. object CountDownLatch
  5. object CyclicBarrier
  6. object ExecutorCompletionService
  7. object Executors
  8. object Flow
  9. object ForkJoinPool
  10. object ForkJoinTask extends Serializable
  11. object Future
  12. object FutureTask
  13. object Helpers

    Shared implementation code for java.util.concurrent.

  14. object LinkedBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  15. object LinkedTransferQueue extends Serializable
    Annotations
    @SerialVersionUID()
  16. object PriorityBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  17. object ScheduledThreadPoolExecutor
  18. object Semaphore extends Serializable
  19. object SynchronousQueue extends Serializable

    A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.

    A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa. A synchronous queue does not have any internal capacity, not even a capacity of one. You cannot peek at a synchronous queue because an element is only present when you try to remove it; you cannot insert an element (using any method) unless another thread is trying to remove it; you cannot iterate as there is nothing to iterate. The head of the queue is the element that the first queued inserting thread is trying to add to the queue; if there is no such queued thread then no element is available for removal and poll() will return null. For purposes of other Collection methods (for example contains), a SynchronousQueue acts as an empty collection. This queue does not permit null elements.

    Synchronous queues are similar to rendezvous channels used in CSP and Ada. They are well suited for handoff designs, in which an object running in one thread must sync up with an object running in another thread in order to hand it some information, event, or task.

    This class supports an optional fairness policy for ordering waiting producer and consumer threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness set to true grants threads access in FIFO order.

    This class and its iterator implement all of the optional methods of the Collection and Iterator interfaces.

    This class is a member of the <a href="/java.base/java/util/package-summary.html#CollectionsFramework"> Java Collections Framework.

    Annotations
    @SerialVersionUID()
    Since

    1.5

  20. object ThreadLocalRandom extends Serializable
    Annotations
    @SerialVersionUID()
  21. object ThreadPoolExecutor
  22. object TimeUnit extends Serializable

Ungrouped