Interface | Description |
---|---|
ExecutorBuilder<E extends java.util.concurrent.ExecutorService> |
Configure an executor before creating it.
|
ExecutorBuilderFactory<E extends ExecutorPlus,S extends SequentialExecutorPlus> |
Entry point for configuring and creating new executors.
|
ExecutorBuilderFactory.Jmxable<E extends ExecutorPlus,S extends SequentialExecutorPlus> |
Entry point for configuring and creating new executors.
|
ExecutorFactory |
Entry point for configuring and creating new executors.
|
ExecutorFactory.LocalAwareSubFactory | |
ExecutorFactory.LocalAwareSubFactoryWithJMX | |
ExecutorPlus |
Cassandra's extension of
ExecutorService , using our own Future , supporting
ExecutorPlus.inExecutor() , and execution with associated resources ExecutorPlus.execute(WithResources, Runnable)
(which is primarily used for encapsulating ExecutorLocals without leaking implementing classes). |
ExecutorPlus.MaximumPoolSizeListener | |
Interruptible | |
Interruptible.SimpleTask |
A Task that only runs on NORMAL states
|
Interruptible.Task | |
LocalAwareExecutorPlus |
An
ExecutorPlus that is aware of, and propagates to execution, any ExecutorLocals |
LocalAwareSequentialExecutorPlus |
A
SequentialExecutorPlus that is aware of, and propagates to execution, any ExecutorLocals |
ResizableThreadPool | |
ResizableThreadPoolMXBean | |
ScheduledExecutorPlus | |
SEPExecutorMBean | |
SequentialExecutorPlus |
An
ExecutorPlus that guarantees the order of execution matches the order of task submission,
and provides a simple mechanism for the recurring pattern of ensuring a job is executed at least once
after some point in time (i.e. |
SequentialExecutorPlus.AtLeastOnceTrigger | |
Shutdownable | |
Stage.ExecutorServiceInitialiser | |
TaskFactory |
A simple mechanism to impose our desired semantics on the execution of a task without requiring a specialised
executor service.
|
Class | Description |
---|---|
ExecutionFailure |
Standardised handling of failures during execution - mostly this involves invoking a thread's
Thread.UncaughtExceptionHandler or
JVMStabilityInspector.uncaughtException(Thread, Throwable) ,
with special handling for CompactionInterruptedException . |
ExecutorFactory.Default | |
ExecutorFactory.Global | |
ExecutorLocals | |
ExecutorLocals.Impl | |
FutureTask<V> |
A FutureTask that utilises Cassandra's
AsyncFuture , making it compatible with ExecutorPlus . |
FutureTaskWithResources<V> |
A FutureTask that utilises Cassandra's
AsyncFuture , making it compatible with ExecutorPlus . |
ImmediateExecutor | |
InfiniteLoopExecutor | |
LocalAwareSingleThreadExecutorPlus | |
LocalAwareThreadPoolExecutorPlus | |
NamedThreadFactory |
This class is an implementation of the ThreadFactory interface.
|
NamedThreadFactory.MetaFactory | |
ScheduledExecutors |
Centralized location for shared executors
|
ScheduledThreadPoolExecutorPlus |
Like ExecutorPlus, ScheduledThreadPoolExecutorPlus always
logs exceptions from the tasks it is given, even if Future.get is never called elsewhere.
|
SEPExecutor | |
SharedExecutorPool |
A pool of worker threads that are shared between all Executors created with it.
|
SingleThreadExecutorPlus | |
SingleThreadExecutorPlus.AtLeastOnce | |
SyncFutureTask<T> | |
TaskFactory.LocalAware | |
TaskFactory.Standard | |
ThreadPoolExecutorBase |
This class incorporates some Executor best practices for Cassandra.
|
ThreadPoolExecutorBuilder<E extends ExecutorPlus> |
Configure a
ThreadPoolExecutorPlus , applying Cassandra's best practices by default
Core threads may timeout, and use a default ThreadPoolExecutorBuilder.keepAlive time in ThreadPoolExecutorBuilder.keepAliveUnits
Threads share the same ThreadGroup , which may be configurably a child of a specified ThreadGroup
descended from the same parent of the NamedThreadFactory.MetaFactory
By default queues are unbounded in length
The default RejectedExecutionHandler is implementation dependent, but may be overridden
The default Thread.UncaughtExceptionHandler is inherited from NamedThreadFactory.MetaFactory , which in turn receives it
from the ExecutorBuilderFactory |
ThreadPoolExecutorJMXAdapter |
A
ThreadPoolExecutorBase adapter to expose it via JMX. |
ThreadPoolExecutorPlus |
This class inherits Executor best practices from
ThreadPoolExecutorBase
and ThreadPoolExecutorBuilder . |
WrappedExecutorPlus |
Exception | Description |
---|---|
Interruptible.TerminateException |
Copyright © 2009-2022 The Apache Software Foundation