# Uses of Package
org.apache.cassandra.utils.concurrent

Packages that use org.apache.cassandra.utils.concurrent
org.apache.cassandra.db
org.apache.cassandra.db.commitlog
org.apache.cassandra.db.compaction
org.apache.cassandra.db.compaction.writers
org.apache.cassandra.db.lifecycle
org.apache.cassandra.db.partitions
org.apache.cassandra.db.rows
org.apache.cassandra.index
org.apache.cassandra.index.internal
org.apache.cassandra.index.sasi
org.apache.cassandra.io.compress
org.apache.cassandra.io.sstable
org.apache.cassandra.io.sstable.format
org.apache.cassandra.io.sstable.format.big
org.apache.cassandra.io.util
org.apache.cassandra.service
org.apache.cassandra.streaming
org.apache.cassandra.streaming.messages
org.apache.cassandra.utils
org.apache.cassandra.utils.concurrent
org.apache.cassandra.utils.memory
org.apache.cassandra.utils.obs

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db
Class and Description
OpOrder A class for providing synchronization between producers and consumers that do not communicate directly with each other, but where the consumers need to process their work in contiguous batches.
OpOrder.Barrier This class represents a synchronisation point providing ordering guarantees on operations started against the enclosing OpOrder.
OpOrder.Group Represents a group of identically ordered operations, i.e.
Refs A collection of managed Ref references to RefCounted objects, and the objects they are referencing.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.commitlog
Class and Description
WaitQueue A relatively easy to use utility for general purpose thread signalling.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.compaction
Class and Description
Refs A collection of managed Ref references to RefCounted objects, and the objects they are referencing.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.compaction.writers
Class and Description
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.lifecycle
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.partitions
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.db.rows
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.index
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.index.internal
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.index.sasi
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.io.compress
Class and Description
Ref.IdentityCollection
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.io.sstable
Class and Description
Ref.IdentityCollection
SharedCloseable A simple extension of AutoCloseable, that represents a resource that can be utilised in multiple locations, each managing their own closure of the resource, so that when the last such instance is closed all are.
SharedCloseableImpl A simple abstract implementation of SharedCloseable
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.
WrappedSharedCloseable An implementation of SharedCloseable that wraps a normal AutoCloseable, ensuring its close method is only called when all instances of SharedCloseable have been

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.io.sstable.format
Class and Description

Ref
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

Ref.IdentityCollection

RefCounted
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

SelfRefCounted
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.io.sstable.format.big
Class and Description

RefCounted
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

SelfRefCounted
Transactional An abstraction for Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.io.util
Class and Description
Ref.IdentityCollection
RefCounted.Tidy
SharedCloseable A simple extension of AutoCloseable, that represents a resource that can be utilised in multiple locations, each managing their own closure of the resource, so that when the last such instance is closed all are.
SharedCloseableImpl A simple abstract implementation of SharedCloseable
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional A simple abstract implementation of Transactional behaviour.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.service
Class and Description
Accumulator A simple append-only collection supporting an unbounded number of concurrent readers/writers, but a bounded number of items.
Refs A collection of managed Ref references to RefCounted objects, and the objects they are referencing.
SimpleCondition

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.streaming
Class and Description

Ref
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.streaming.messages
Class and Description

Ref
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.utils
Class and Description
Ref.IdentityCollection
SharedCloseable A simple extension of AutoCloseable, that represents a resource that can be utilised in multiple locations, each managing their own closure of the resource, so that when the last such instance is closed all are.
SharedCloseableImpl A simple abstract implementation of SharedCloseable
WrappedSharedCloseable An implementation of SharedCloseable that wraps a normal AutoCloseable, ensuring its close method is only called when all instances of SharedCloseable have been

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.utils.concurrent
Class and Description
OpOrder.Barrier This class represents a synchronisation point providing ordering guarantees on operations started against the enclosing OpOrder.
OpOrder.Group Represents a group of identically ordered operations, i.e.

Ref
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

Ref.IdentityCollection

RefCounted
An object that needs ref counting does the two following: - defines a Tidy object that will cleanup once it's gone, (this must retain no references to the object we're tracking (only its resources and how to clean up)) Then, one of two options: 1) Construct a Ref directly pointing to it, and always use this Ref; or 2) - implements RefCounted - encapsulates a Ref, we'll call selfRef, to which it proxies all calls to RefCounted behaviours - users must ensure no references to the selfRef leak, or are retained outside of a method scope.

RefCounted.Tidy
Refs A collection of managed Ref references to RefCounted objects, and the objects they are referencing.
SelfRefCounted
SharedCloseable A simple extension of AutoCloseable, that represents a resource that can be utilised in multiple locations, each managing their own closure of the resource, so that when the last such instance is closed all are.
SharedCloseableImpl A simple abstract implementation of SharedCloseable
Transactional An abstraction for Transactional behaviour.
Transactional.AbstractTransactional.State
WaitQueue A relatively easy to use utility for general purpose thread signalling.
WaitQueue.Signal A Signal is a one-time-use mechanism for a thread to wait for notification that some condition state has transitioned that it may be interested in (and hence should check if it is).
WrappedSharedCloseable An implementation of SharedCloseable that wraps a normal AutoCloseable, ensuring its close method is only called when all instances of SharedCloseable have been

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.utils.memory
Class and Description
OpOrder.Group Represents a group of identically ordered operations, i.e.
WaitQueue A relatively easy to use utility for general purpose thread signalling.

Classes in org.apache.cassandra.utils.concurrent used by org.apache.cassandra.utils.obs
Class and Description
Ref.IdentityCollection