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

Value Members

  1. object ArrayBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  2. object ConcurrentHashMap extends Serializable
    Annotations
    @SerialVersionUID()
  3. object ConcurrentLinkedDeque extends Serializable

    An unbounded concurrent deque based on linked nodes.

    An unbounded concurrent deque based on linked nodes. Concurrent insertion, removal, and access operations execute safely across multiple threads. A ConcurrentLinkedDeque is an appropriate choice when many threads will share access to a common collection. Like most other concurrent collection implementations, this class does not permit the use of null elements.

    Iterators and spliterators are <a href="package-summary.html#Weakly">weakly consistent.

    Beware that, unlike in most collections, the size method is NOT a constant-time operation. Because of the asynchronous nature of these deques, determining the current number of elements requires a traversal of the elements, and so may report inaccurate results if this collection is modified during traversal. Additionally, the bulk operations addAll, removeAll, retainAll, containsAll, equals, and toArray are not guaranteed to be performed atomically. For example, an iterator operating concurrently with an addAll operation might view only some of the added elements.

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

    Memory consistency effects: As with other concurrent collections, actions in a thread prior to placing an object into a ConcurrentLinkedDeque happen-before actions subsequent to the access or removal of that element from the ConcurrentLinkedDeque in another thread.

    This class is a member of the Java Collections Framework.

    Annotations
    @SerialVersionUID()
    Since

    1.7

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

    Shared implementation code for java.util.concurrent.

  15. object LinkedBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  16. object LinkedTransferQueue extends Serializable
    Annotations
    @SerialVersionUID()
  17. object PriorityBlockingQueue extends Serializable
    Annotations
    @SerialVersionUID()
  18. object ScheduledThreadPoolExecutor
  19. object Semaphore extends Serializable
  20. 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

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

Ungrouped