Wrappers for wrapping thread pools as a way to modify behavior, monitor, or otherwise extend the functionality of the pool. In addition wrappers for tasks (ie
Runnable) are included in this package.
Class Summary Class Description KeyDistributedExecutorTaskDistributor is designed such that tasks executed on it for a given key will run in a single threaded manner. KeyDistributedSchedulerThis is a class which is more full featured than
KeyDistributedExecutor, but it does require a scheduler implementation in order to be able to perform scheduling.
RunnableChainA class to chain multiple runnables to later be run together, within the same thread. SchedulerExecutorDelegatorClass which takes in both an executor and a scheduler. SubmitterExecutorAdapterA simple wrapper class for
Executorimplementations to provide
ThrowableSuppressingRunnableClass that is designed to wrap a runnable, and prevent any throwables from propagating out of the run function.