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 interfaceDebuggableTaskInterface to include on a Runnable or Callable submitted to theSharedExecutorPoolto provide more detailed diagnostics.interfaceExecutorBuilder<E extends java.util.concurrent.ExecutorService>Configure an executor before creating it.interfaceExecutorBuilderFactory<E extends ExecutorPlus,S extends SequentialExecutorPlus>Entry point for configuring and creating new executors.interfaceExecutorFactoryEntry point for configuring and creating new executors.interfaceExecutorPlusCassandra's extension ofExecutorService, using our ownFuture, supportingExecutorPlus.inExecutor(), and execution with associated resourcesExecutorPlus.execute(WithResources, Runnable)(which is primarily used for encapsulatingExecutorLocalswithout leaking implementing classes).classImmediateExecutorstatic classInfiniteLoopExecutor.Daemonstatic classInfiniteLoopExecutor.InternalStatestatic classInfiniteLoopExecutor.Interruptsstatic classInfiniteLoopExecutor.SimulatorSafeinterfaceInterruptibleinterfaceLocalAwareExecutorPlusAnExecutorPlusthat is aware of, and propagates to execution, any ExecutorLocalsinterfaceLocalAwareSequentialExecutorPlusASequentialExecutorPlusthat is aware of, and propagates to execution, any ExecutorLocalsinterfaceResizableThreadPoolinterfaceScheduledExecutorPlusinterfaceSequentialExecutorPlusAnExecutorPlusthat 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.interfaceShutdownableinterfaceTaskFactoryA 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 classParameterizedClass -
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 classCompactionInterruptedException -
Uses of Shared in org.apache.cassandra.exceptions
Classes in org.apache.cassandra.exceptions with annotations of type Shared Modifier and Type Class Description classCassandraExceptionclassExceptionCodeExceptions code, as defined by the binary protocol.classRequestExecutionExceptioninterfaceTransportException -
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 interfaceDataInputPlusExtension to DataInput that provides support for reading varintsinterfaceDataOutputPlusExtension 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.interfaceReadableMemory -
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 classBallotinterfaceBallotGenerator -
Uses of Shared in org.apache.cassandra.streaming
Classes in org.apache.cassandra.streaming with annotations of type Shared Modifier and Type Interface Description interfaceStreamingChannelinterfaceStreamingDataInputPlusinterfaceStreamingDataOutputPlus -
Uses of Shared in org.apache.cassandra.utils
Classes in org.apache.cassandra.utils with annotations of type Shared Modifier and Type Interface Description interfaceClockWrapper around time related functions that are either implemented by using the default JVM calls or by using a custom implementation for testing purposes.interfaceCloseableinterfaceMonotonicClockWrapper around time related functions that are either implemented by using the default JVM calls or by using a custom implementation for testing purposes.interfaceMonotonicClockTranslationclassNativeLibraryDarwinANativeLibraryWrapperimplementation for Darwin/Mac.classNativeLibraryLinuxANativeLibraryWrapperimplementation for Linux.interfaceNativeLibraryWrapperAn interface to implement for using OS specific native methods.classTimeUUIDinterfaceWithResourcesA 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 interfaceAwaitableA generic signal consumer, supporting all of the typical patterns used in Cassandra.interfaceConditionSimpler 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.ConditionAwaitablefor explicit external signals.interfaceCountDownLatchinterfaceFuture<V>A Future that integrates several different (but equivalent) APIs used within Cassandra into a single concept, integrating also with ourAwaitableabstraction, to overall improve coherency and clarity in the codebase.interfacePromise<V>A Promise that integratesPromisewith ourFutureAPI to improve clarity and coherence in the codebase.static interfaceRef.OnLeakinterfaceRunnableFuture<V>interfaceSemaphoreclassUncheckedInterruptedExceptionUncheckedInterruptedException, to be thrown in places where an interrupt is unexpectedinterfaceWaitQueueA 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 interfaceBufferPool.DebugLeaksstatic interfaceHeapPool.Logged.Listener
-