AbstractThreadPoolService |
Base Service that runs asynchronously using a thread pool.
|
AsyncSemaphore |
A synchronization primitive that allows executing arbitrary (concurrent) tasks, where each task requires a well-known
number of credits, subject to a total number of credits being available.
|
CancellationToken |
Represents a token that can be passed around to various services or components to indicate when a task should be cancelled.
|
DelayedProcessor<T extends DelayedProcessor.Item> |
An async processor that executes items after a predetermined (yet fixed) delay of time.
|
ExecutorServiceHelpers |
Helper methods for ExecutorService.
|
ExecutorServiceHelpers.Snapshot |
|
Futures |
Extensions to Future and CompletableFuture.
|
LatestItemSequentialProcessor<ItemType> |
Provides a way to run a provided function on items but guarantees that the function is only invoked for one item at a time.
|
MultiKeyLatestItemSequentialProcessor<KeyType,ItemType> |
Provides a way to run a function on Key Value Pairs but guarantees that the function is only invoked for one item at a time per key.
|
MultiKeySequentialProcessor<KeyType> |
Concurrent async processor that allows parallel execution of tasks with different keys, but serializes the execution
of tasks with the same key.
|
NewestReference<T extends java.lang.Comparable<T>> |
Keeps the largest value in a thread safe way.
|
OrderedProcessor<ResultType> |
Processes items in order, subject to capacity constraints.
|
ScheduledQueue<E extends io.pravega.common.concurrent.Scheduled> |
Provides a unbounded blocking queue which Scheduled items can be added to.
|
SequentialProcessor |
Async processor that serializes the execution of tasks such that no two tasks execute at the same time.
|
Services |
Helper methods that allow controlling Services.
|
ThreadPoolScheduledExecutorService |
An implementation of ScheduledExecutorService which uses a thread pool.
|