Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.db.compaction | |
org.apache.cassandra.service | |
org.apache.cassandra.utils.concurrent |
Modifier and Type | Field and Description |
---|---|
Refs<SSTableReader> |
ColumnFamilyStore.RefViewFragment.refs |
Modifier and Type | Method and Description |
---|---|
Refs<SSTableReader> |
ColumnFamilyStore.getAndReferenceOverlappingLiveSSTables(java.lang.Iterable<SSTableReader> sstables)
like getOverlappingSSTables, but acquires references before returning
|
Refs<SSTableReader> |
ColumnFamilyStore.getSnapshotSSTableReader(java.lang.String tag) |
Constructor and Description |
---|
RefViewFragment(java.util.List<SSTableReader> sstables,
java.lang.Iterable<Memtable> memtables,
Refs<SSTableReader> refs) |
Modifier and Type | Method and Description |
---|---|
void |
CompactionManager.performAnticompaction(ColumnFamilyStore cfs,
java.util.Collection<Range<Token>> ranges,
Refs<SSTableReader> validatedForRepair,
LifecycleTransaction txn,
long repairedAt,
java.util.UUID parentRepairSession)
Make sure the {validatedForRepair} are marked for compaction before calling this.
|
com.google.common.util.concurrent.ListenableFuture<?> |
CompactionManager.submitAntiCompaction(ColumnFamilyStore cfs,
java.util.Collection<Range<Token>> ranges,
Refs<SSTableReader> sstables,
long repairedAt,
java.util.UUID parentRepairSession) |
Modifier and Type | Method and Description |
---|---|
Refs<SSTableReader> |
ActiveRepairService.ParentRepairSession.getActiveRepairedSSTableRefsForAntiCompaction(java.util.UUID cfId,
java.util.UUID parentSessionId)
Get the still active sstables we should run anticompaction on
note that validation and streaming do not call this method - they have to work on the actual active sstables on the node, we only call this
to know which sstables are still there that were there when we started the repair
|
Modifier and Type | Method and Description |
---|---|
Refs<T> |
Refs.addAll(Refs<T> add)
Merge two sets of references, ensuring only one reference is retained between the two sets
|
static <T extends RefCounted<T>> |
Refs.ref(java.lang.Iterable<T> reference) |
static <T extends RefCounted<T>> |
Refs.tryRef(java.lang.Iterable<T> reference)
Acquire a reference to all of the provided objects, or none
|
Modifier and Type | Method and Description |
---|---|
Refs<T> |
Refs.addAll(Refs<T> add)
Merge two sets of references, ensuring only one reference is retained between the two sets
|
Copyright © 2017 The Apache Software Foundation