Package | Description |
---|---|
org.apache.cassandra.concurrent | |
org.apache.cassandra.db.compaction | |
org.apache.cassandra.metrics |
Modifier and Type | Interface and Description |
---|---|
interface |
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). |
interface |
LocalAwareExecutorPlus
An
ExecutorPlus that is aware of, and propagates to execution, any ExecutorLocals |
interface |
LocalAwareSequentialExecutorPlus
A
SequentialExecutorPlus that is aware of, and propagates to execution, any ExecutorLocals |
interface |
ResizableThreadPoolMXBean |
interface |
ScheduledExecutorPlus |
interface |
SEPExecutorMBean |
interface |
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. |
Modifier and Type | Class and Description |
---|---|
class |
ImmediateExecutor |
class |
LocalAwareSingleThreadExecutorPlus |
class |
LocalAwareThreadPoolExecutorPlus |
class |
ScheduledThreadPoolExecutorPlus
Like ExecutorPlus, ScheduledThreadPoolExecutorPlus always
logs exceptions from the tasks it is given, even if Future.get is never called elsewhere.
|
class |
SEPExecutor |
class |
SingleThreadExecutorPlus |
class |
ThreadPoolExecutorBase
This class incorporates some Executor best practices for Cassandra.
|
class |
ThreadPoolExecutorJMXAdapter
A
ThreadPoolExecutorBase adapter to expose it via JMX. |
class |
ThreadPoolExecutorPlus
This class inherits Executor best practices from
ThreadPoolExecutorBase
and ThreadPoolExecutorBuilder . |
class |
WrappedExecutorPlus |
Modifier and Type | Class and Description |
---|---|
static class |
CompactionManager.ValidationExecutor |
Constructor and Description |
---|
ThreadPoolMetrics(ResizableThreadPool executor,
java.lang.String path,
java.lang.String poolName)
Create metrics for given ThreadPoolExecutor.
|
Copyright © 2009- The Apache Software Foundation