Uses of Interface
org.apache.cassandra.utils.concurrent.RefCounted
Packages that use RefCounted
Package
Description
-
Uses of RefCounted in org.apache.cassandra.io.sstable.format
Classes in org.apache.cassandra.io.sstable.format that implement RefCountedModifier and TypeClassDescriptionclassAn SSTableReader can be constructed in a number of places, but typically is either read from disk at startup, or constructed from a flushed memtable, or after compaction to replace some existing sstables.class -
Uses of RefCounted in org.apache.cassandra.io.sstable.format.big
Classes in org.apache.cassandra.io.sstable.format.big that implement RefCountedModifier and TypeClassDescriptionclassSSTableReaders are open()ed by Keyspace.onStart; after that they are created by SSTableWriter.renameAndOpen. -
Uses of RefCounted in org.apache.cassandra.io.sstable.format.bti
Classes in org.apache.cassandra.io.sstable.format.bti that implement RefCountedModifier and TypeClassDescriptionclassReader of SSTable files in BTI format (seeBtiFormat), written byBtiTableWriter. -
Uses of RefCounted in org.apache.cassandra.utils.concurrent
Classes in org.apache.cassandra.utils.concurrent with type parameters of type RefCountedModifier and TypeClassDescriptionfinal classRefs<T extends RefCounted<T>>A collection of managed Ref references to RefCounted objects, and the objects they are referencing.Subinterfaces of RefCounted in org.apache.cassandra.utils.concurrentClasses in org.apache.cassandra.utils.concurrent that implement RefCountedModifier and TypeClassDescriptionfinal classRef<T>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.static final classRef.DirectBufferRef<T extends sun.nio.ch.DirectBuffer>A version ofReffor objects that implementDirectBuffer.Methods in org.apache.cassandra.utils.concurrent with type parameters of type RefCountedModifier and TypeMethodDescriptionstatic <T extends RefCounted<T>>
Refs<T>static <T extends RefCounted<T>>
Refs<T>Acquire a reference to all of the provided objects, or none