Modifier and Type | Interface and Description |
---|---|
interface |
ExecutorBuilder<E extends java.util.concurrent.ExecutorService>
Configure an executor before creating it.
|
interface |
ExecutorBuilderFactory<E extends ExecutorPlus,S extends SequentialExecutorPlus>
Entry point for configuring and creating new executors.
|
interface |
ExecutorFactory
Entry point for configuring and creating new executors.
|
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). |
class |
ImmediateExecutor |
static class |
InfiniteLoopExecutor.Daemon |
static class |
InfiniteLoopExecutor.InternalState |
static class |
InfiniteLoopExecutor.Interrupts |
static class |
InfiniteLoopExecutor.SimulatorSafe |
interface |
Interruptible |
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 |
ResizableThreadPool |
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. |
interface |
Shutdownable |
interface |
TaskFactory
A simple mechanism to impose our desired semantics on the execution of a task without requiring a specialised
executor service.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterizedClass |
Modifier and Type | Class and Description |
---|---|
class |
CompactionInterruptedException |
Modifier and Type | Class and Description |
---|---|
class |
CassandraException |
class |
ExceptionCode
Exceptions code, as defined by the binary protocol.
|
class |
RequestExecutionException |
interface |
TransportException |
Modifier and Type | Interface and Description |
---|---|
interface |
DataInputPlus
Extension to DataInput that provides support for reading varints
|
interface |
DataOutputPlus
Extension to DataOutput that provides for writing ByteBuffer and Memory, potentially with an efficient
implementation that is zero copy or at least has reduced bounds checking overhead.
|
interface |
ReadableMemory |
Modifier and Type | Class and Description |
---|---|
class |
Ballot |
interface |
BallotGenerator |
Modifier and Type | Interface and Description |
---|---|
interface |
StreamingChannel |
interface |
StreamingDataInputPlus |
interface |
StreamingDataOutputPlus |
Modifier and Type | Interface and Description |
---|---|
interface |
Clock
Wrapper around time related functions that are either implemented by using the default JVM calls
or by using a custom implementation for testing purposes.
|
interface |
Closeable |
interface |
MonotonicClock
Wrapper around time related functions that are either implemented by using the default JVM calls
or by using a custom implementation for testing purposes.
|
interface |
MonotonicClockTranslation |
class |
NativeLibraryDarwin
A
NativeLibraryWrapper implementation for Darwin/Mac. |
class |
NativeLibraryLinux
A
NativeLibraryWrapper implementation for Linux. |
interface |
NativeLibraryWrapper
An interface to implement for using OS specific native methods.
|
class |
TimeUUID |
interface |
WithResources
A generic interface for encapsulating a Runnable task with related work before and after execution,
using the built-in try-with-resources functionality offered by
Closeable . |
Modifier and Type | Interface and Description |
---|---|
interface |
Awaitable
A generic signal consumer, supporting all of the typical patterns used in Cassandra.
|
interface |
Condition
Simpler API than java.util.concurrent.Condition; would be nice to extend it, but also nice
to share API with Future, for which Netty's API is incompatible with java.util.concurrent.Condition
Awaitable for explicit external signals. |
interface |
CountDownLatch |
interface |
Future<V>
A Future that integrates several different (but equivalent) APIs used within Cassandra into a single concept,
integrating also with our
Awaitable abstraction, to overall improve coherency and clarity in the codebase. |
interface |
Promise<V>
A Promise that integrates
Promise with our Future API
to improve clarity and coherence in the codebase. |
static interface |
Ref.OnLeak |
interface |
RunnableFuture<V> |
interface |
Semaphore |
class |
UncheckedInterruptedException
Unchecked
InterruptedException , to be thrown in places where an interrupt is unexpected |
interface |
WaitQueue
A relatively easy to use utility for general purpose thread signalling.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
BufferPool.DebugLeaks |
static interface |
HeapPool.Logged.Listener |
Copyright © 2009-2022 The Apache Software Foundation