Uses of Annotation Interface
org.apache.cassandra.utils.Shared
Packages that use Shared
Package
Description
-
Uses of Shared in org.apache.cassandra.concurrent
Classes in org.apache.cassandra.concurrent with annotations of type SharedModifier and TypeInterfaceDescriptioninterfaceInterface to include on a Runnable or Callable submitted to theSharedExecutorPoolto provide more detailed diagnostics.interfaceExecutorBuilder<E extends ExecutorService>Configure an executor before creating it.interfaceExecutorBuilderFactory<E extends ExecutorPlus,S extends SequentialExecutorPlus> Entry point for configuring and creating new executors.interfaceEntry point for configuring and creating new executors.interfaceCassandra'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).classstatic enumstatic enumstatic enumstatic enuminterfaceinterfaceAnExecutorPlusthat is aware of, and propagates to execution, any ExecutorLocalsinterfaceASequentialExecutorPlusthat is aware of, and propagates to execution, any ExecutorLocalsinterfaceinterfaceinterfaceAnExecutorPlusthat 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.interfaceinterfaceA 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 -
Uses of Shared in org.apache.cassandra.db.compaction
Classes in org.apache.cassandra.db.compaction with annotations of type Shared -
Uses of Shared in org.apache.cassandra.exceptions
Classes in org.apache.cassandra.exceptions with annotations of type SharedModifier and TypeClassDescriptionclassenumExceptions code, as defined by the binary protocol.classinterface -
Uses of Shared in org.apache.cassandra.io.util
Classes in org.apache.cassandra.io.util with annotations of type SharedModifier and TypeInterfaceDescriptioninterfaceExtension to DataInput that provides support for reading varintsinterfaceExtension 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 -
Uses of Shared in org.apache.cassandra.service.paxos
Classes in org.apache.cassandra.service.paxos with annotations of type Shared -
Uses of Shared in org.apache.cassandra.streaming
Classes in org.apache.cassandra.streaming with annotations of type SharedModifier and TypeInterfaceDescriptioninterfaceinterfaceinterface -
Uses of Shared in org.apache.cassandra.utils
Classes in org.apache.cassandra.utils with annotations of type SharedModifier and TypeInterfaceDescriptioninterfaceWrapper around time related functions that are either implemented by using the default JVM calls or by using a custom implementation for testing purposes.interfaceinterfaceWrapper around time related functions that are either implemented by using the default JVM calls or by using a custom implementation for testing purposes.interfaceclassANativeLibraryWrapperimplementation for Darwin/Mac.classANativeLibraryWrapperimplementation for Linux.interfaceAn interface to implement for using OS specific native methods.classclassinterfaceA 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 SharedModifier and TypeInterfaceDescriptioninterfaceA generic signal consumer, supporting all of the typical patterns used in Cassandra.interfaceSimpler 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.interfaceinterfaceFuture<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 interfaceinterfaceinterfaceclassUncheckedInterruptedException, to be thrown in places where an interrupt is unexpectedinterfaceA 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 SharedModifier and TypeInterfaceDescriptionstatic interfacestatic interface