Package io.atomix.utils.concurrent
Provides classes and interfaces for managing concurrency.
-
Interface Summary Interface Description Accumulator<T> Abstraction of an accumulator capable of collecting items and at some point in time triggers processing of all previously accumulated items.ReferenceCounted<T> Reference counting interface.ReferenceFactory<T extends ReferenceCounted<?>> Reference factory.ReferenceManager<T> Reference manager.Scheduled Scheduled task.Scheduler Scheduler.ThreadContext Thread context.ThreadContextFactory Thread context factory. -
Class Summary Class Description AbstractAccumulator<T> Base implementation of an item accumulator.AbstractThreadContext Abstract thread context.AtomixFuture<T> ACompletableFuturethat tracks whether the future or one of its descendants has been blocked on aCompletableFuture.get()orCompletableFuture.join()call.AtomixThread Atomix thread.AtomixThreadFactory Named thread factory.BlockingAwareSingleThreadContext Blocking aware single thread context.BlockingAwareSingleThreadContextFactory Single thread context factory.BlockingAwareThreadPoolContext Blocking aware thread pool context.BlockingAwareThreadPoolContextFactory Thread pool context factory.ComposableFuture<T> Special implementation ofCompletableFuturewith missing utility methods.Futures Utilities for creating completed and exceptional futures.NullThreadContext Null thread context.OrderedExecutor Executor that executes tasks in order on a shared thread pool.OrderedFuture<T> ACompletableFuturethat ensures callbacks are called in FIFO order.ReferencePool<T extends ReferenceCounted<?>> Pool of reference counted objects.Retries Retry utilities.RetryingFunction<U,V> Function that retries execution on failure.SingleThreadContext Single threaded context.ThreadPoolContext Thread pool context.Threads Thread utilities. -
Enum Summary Enum Description ThreadModel Raft thread model.