Uses of Class
org.apache.cassandra.utils.Shared
-
-
Uses of Shared in org.apache.cassandra.concurrent
Classes in org.apache.cassandra.concurrent with annotations of type Shared Modifier and Type Interface Description interface
DebuggableTask
Interface to include on a Runnable or Callable submitted to theSharedExecutorPool
to provide more detailed diagnostics.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 ofExecutorService
, using our ownFuture
, supportingExecutorPlus.inExecutor()
, and execution with associated resourcesExecutorPlus.execute(WithResources, Runnable)
(which is primarily used for encapsulatingExecutorLocals
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
AnExecutorPlus
that is aware of, and propagates to execution, any ExecutorLocalsinterface
LocalAwareSequentialExecutorPlus
ASequentialExecutorPlus
that is aware of, and propagates to execution, any ExecutorLocalsinterface
ResizableThreadPool
interface
ScheduledExecutorPlus
interface
SequentialExecutorPlus
AnExecutorPlus
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. -
Uses of Shared in org.apache.cassandra.config
Classes in org.apache.cassandra.config with annotations of type Shared Modifier and Type Class Description class
ParameterizedClass
-
Uses of Shared in org.apache.cassandra.db.compaction
Classes in org.apache.cassandra.db.compaction with annotations of type Shared Modifier and Type Class Description class
CompactionInterruptedException
-
Uses of Shared in org.apache.cassandra.exceptions
Classes in org.apache.cassandra.exceptions with annotations of type Shared Modifier and Type Class Description class
CassandraException
class
ExceptionCode
Exceptions code, as defined by the binary protocol.class
RequestExecutionException
interface
TransportException
-
Uses of Shared in org.apache.cassandra.io.util
Classes in org.apache.cassandra.io.util with annotations of type Shared Modifier and Type Interface Description interface
DataInputPlus
Extension to DataInput that provides support for reading varintsinterface
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
-
Uses of Shared in org.apache.cassandra.service.paxos
Classes in org.apache.cassandra.service.paxos with annotations of type Shared Modifier and Type Class Description class
Ballot
interface
BallotGenerator
-
Uses of Shared in org.apache.cassandra.streaming
Classes in org.apache.cassandra.streaming with annotations of type Shared Modifier and Type Interface Description interface
StreamingChannel
interface
StreamingDataInputPlus
interface
StreamingDataOutputPlus
-
Uses of Shared in org.apache.cassandra.utils
Classes in org.apache.cassandra.utils with annotations of type Shared Modifier and Type Interface 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
ANativeLibraryWrapper
implementation for Darwin/Mac.class
NativeLibraryLinux
ANativeLibraryWrapper
implementation for Linux.interface
NativeLibraryWrapper
An interface to implement for using OS specific native methods.class
SigarLibrary
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 byCloseable
. -
Uses of Shared in org.apache.cassandra.utils.concurrent
Classes in org.apache.cassandra.utils.concurrent with annotations of type Shared Modifier and Type Interface 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.ConditionAwaitable
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 ourAwaitable
abstraction, to overall improve coherency and clarity in the codebase.interface
Promise<V>
A Promise that integratesPromise
with ourFuture
API to improve clarity and coherence in the codebase.static interface
Ref.OnLeak
interface
RunnableFuture<V>
interface
Semaphore
class
UncheckedInterruptedException
UncheckedInterruptedException
, to be thrown in places where an interrupt is unexpectedinterface
WaitQueue
A relatively easy to use utility for general purpose thread signalling. -
Uses of Shared in org.apache.cassandra.utils.memory
Classes in org.apache.cassandra.utils.memory with annotations of type Shared Modifier and Type Interface Description static interface
BufferPool.DebugLeaks
static interface
HeapPool.Logged.Listener
-