Uses of Class
org.apache.cassandra.utils.concurrent.Refs
-
Packages that use Refs Package Description org.apache.cassandra.db org.apache.cassandra.db.compaction org.apache.cassandra.db.repair org.apache.cassandra.utils.concurrent -
-
Uses of Refs in org.apache.cassandra.db
Fields in org.apache.cassandra.db declared as Refs Modifier and Type Field Description Refs<SSTableReader>
ColumnFamilyStore.RefViewFragment. refs
Methods in org.apache.cassandra.db that return Refs Modifier and Type Method Description Refs<SSTableReader>
ColumnFamilyStore. getAndReferenceOverlappingLiveSSTables(java.lang.Iterable<SSTableReader> sstables)
like getOverlappingSSTables, but acquires references before returningRefs<SSTableReader>
ColumnFamilyStore. getSnapshotSSTableReaders(java.lang.String tag)
Methods in org.apache.cassandra.db with parameters of type Refs Modifier and Type Method Description void
ColumnFamilyStore. writeAndAddMemtableRanges(TimeUUID repairSessionID, java.util.function.Supplier<java.util.Collection<Range<PartitionPosition>>> rangesSupplier, Refs<SSTableReader> placeIntoRefs)
Constructors in org.apache.cassandra.db with parameters of type Refs Constructor Description RefViewFragment(java.util.List<SSTableReader> sstables, java.lang.Iterable<Memtable> memtables, Refs<SSTableReader> refs)
-
Uses of Refs in org.apache.cassandra.db.compaction
Methods in org.apache.cassandra.db.compaction with parameters of type Refs Modifier and Type Method Description void
CompactionManager. performAnticompaction(ColumnFamilyStore cfs, RangesAtEndpoint replicas, Refs<SSTableReader> validatedForRepair, LifecycleTransaction txn, TimeUUID sessionID, java.util.function.BooleanSupplier isCancelled)
Make sure the {validatedForRepair} are marked for compaction before calling this.Future<java.lang.Void>
CompactionManager. submitPendingAntiCompaction(ColumnFamilyStore cfs, RangesAtEndpoint tokenRanges, Refs<SSTableReader> sstables, LifecycleTransaction txn, TimeUUID sessionId, java.util.function.BooleanSupplier isCancelled)
Splits the given token ranges of the given sstables into a pending repair silo -
Uses of Refs in org.apache.cassandra.db.repair
Methods in org.apache.cassandra.db.repair that return Refs Modifier and Type Method Description static Refs<SSTableReader>
CassandraValidationIterator. getSSTablesToValidate(ColumnFamilyStore cfs, SharedContext ctx, java.util.Collection<Range<Token>> ranges, TimeUUID parentId, boolean isIncremental)
-
Uses of Refs in org.apache.cassandra.utils.concurrent
Methods in org.apache.cassandra.utils.concurrent that return Refs Modifier and Type Method Description Refs<T>
Refs. addAll(Refs<T> add)
Merge two sets of references, ensuring only one reference is retained between the two setsstatic <T extends RefCounted<T>>
Refs<T>Refs. ref(java.lang.Iterable<? extends T> reference)
static <T extends RefCounted<T>>
Refs<T>Refs. tryRef(java.lang.Iterable<? extends T> reference)
Acquire a reference to all of the provided objects, or noneMethods in org.apache.cassandra.utils.concurrent with parameters of type Refs Modifier and Type Method Description Refs<T>
Refs. addAll(Refs<T> add)
Merge two sets of references, ensuring only one reference is retained between the two sets
-