Package | Description |
---|---|
org.apache.cassandra.concurrent | |
org.apache.cassandra.db.compaction | |
org.apache.cassandra.metrics | |
org.apache.cassandra.repair | |
org.apache.cassandra.service |
Modifier and Type | Interface and Description |
---|---|
interface |
ExecutorBuilderFactory<E extends ExecutorPlus,S extends SequentialExecutorPlus>
Entry point for configuring and creating new executors.
|
static interface |
ExecutorBuilderFactory.Jmxable<E extends ExecutorPlus,S extends SequentialExecutorPlus>
Entry point for configuring and creating new executors.
|
class |
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 |
Modifier and Type | Interface and Description |
---|---|
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 |
ScheduledExecutorPlus |
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 |
ThreadPoolExecutorPlus
This class inherits Executor best practices from
ThreadPoolExecutorBase
and ThreadPoolExecutorBuilder . |
class |
WrappedExecutorPlus |
Modifier and Type | Field and Description |
---|---|
protected ExecutorPlus |
WrappedExecutorPlus.executor |
Modifier and Type | Method and Description |
---|---|
ExecutorPlus |
Stage.executor() |
ExecutorPlus |
Stage.ExecutorServiceInitialiser.init(java.lang.String jmxName,
java.lang.String jmxType,
int numThreads,
ExecutorPlus.MaximumPoolSizeListener onSetMaximumPoolSize) |
Modifier and Type | Method and Description |
---|---|
ExecutorBuilderFactory<ExecutorPlus,SequentialExecutorPlus> |
ExecutorFactory.Default.withJmx(java.lang.String jmxPath) |
Constructor and Description |
---|
WrappedExecutorPlus(ExecutorPlus executor) |
Modifier and Type | Class and Description |
---|---|
static class |
CompactionManager.ValidationExecutor |
Constructor and Description |
---|
CompactionMetrics(ExecutorPlus... collectors) |
Modifier and Type | Field and Description |
---|---|
ExecutorPlus |
RepairSession.taskExecutor |
Modifier and Type | Method and Description |
---|---|
protected ExecutorPlus |
RepairSession.createExecutor() |
Modifier and Type | Method and Description |
---|---|
default Future<CoordinatedRepairResult> |
RepairTask.perform(ExecutorPlus executor) |
Future<CoordinatedRepairResult> |
IncrementalRepairTask.performUnsafe(ExecutorPlus executor) |
Future<CoordinatedRepairResult> |
NormalRepairTask.performUnsafe(ExecutorPlus executor) |
Future<CoordinatedRepairResult> |
PreviewRepairTask.performUnsafe(ExecutorPlus executor) |
Future<CoordinatedRepairResult> |
RepairTask.performUnsafe(ExecutorPlus executor) |
protected Future<CoordinatedRepairResult> |
AbstractRepairTask.runRepair(TimeUUID parentSession,
boolean isIncremental,
ExecutorPlus executor,
java.util.List<CommonRange> commonRanges,
java.lang.String... cfnames) |
void |
RepairSession.start(ExecutorPlus executor)
Start RepairJob on given ColumnFamilies.
|
Modifier and Type | Field and Description |
---|---|
ExecutorPlus |
ActiveRepairService.snapshotExecutor |
Modifier and Type | Method and Description |
---|---|
static ExecutorPlus |
ActiveRepairService.repairCommandExecutor() |
Modifier and Type | Method and Description |
---|---|
RepairSession |
ActiveRepairService.submitRepairSession(TimeUUID parentRepairSession,
CommonRange range,
java.lang.String keyspace,
RepairParallelism parallelismDegree,
boolean isIncremental,
boolean pullRepair,
PreviewKind previewKind,
boolean optimiseStreams,
boolean repairPaxos,
boolean paxosOnly,
ExecutorPlus executor,
java.lang.String... cfnames)
Requests repairs for the given keyspace and column families.
|
Copyright © 2009- The Apache Software Foundation