public static interface Memtable.Owner
Modifier and Type | Method and Description |
---|---|
Memtable |
getCurrentMemtable()
Get the current memtable for this owner.
|
java.lang.Iterable<Memtable> |
getIndexMemtables()
Collect the index memtables flushed together with this.
|
ShardBoundaries |
localRangeSplits(int shardCount)
Construct a list of boundaries that split the locally-owned ranges into the given number of shards,
splitting the owned space evenly.
|
Future<CommitLogPosition> |
signalFlushRequired(Memtable memtable,
ColumnFamilyStore.FlushReason reason)
Signal to the owner that a flush is required (e.g.
|
Future<CommitLogPosition> signalFlushRequired(Memtable memtable, ColumnFamilyStore.FlushReason reason)
Memtable getCurrentMemtable()
java.lang.Iterable<Memtable> getIndexMemtables()
ShardBoundaries localRangeSplits(int shardCount)
Memtable.shouldSwitch(org.apache.cassandra.db.ColumnFamilyStore.FlushReason)
(OWNED_RANGES_CHANGE) and, should that return false, a
Memtable.localRangesUpdated()
call.Copyright © 2009-2022 The Apache Software Foundation