Uses of Class
org.apache.cassandra.utils.concurrent.OpOrder.Group
-
-
Uses of OpOrder.Group in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return OpOrder.Group Modifier and Type Method Description OpOrder.Group
CassandraWriteContext. getGroup()
Constructors in org.apache.cassandra.db with parameters of type OpOrder.Group Constructor Description CassandraWriteContext(OpOrder.Group opGroup, CommitLogPosition position)
NativeClustering(NativeAllocator allocator, OpOrder.Group writeOp, Clustering<?> clustering)
NativeDecoratedKey(Token token, NativeAllocator allocator, OpOrder.Group writeOp, byte[] keyBytes)
NativeDecoratedKey(Token token, NativeAllocator allocator, OpOrder.Group writeOp, java.nio.ByteBuffer key)
-
Uses of OpOrder.Group in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle with parameters of type OpOrder.Group Modifier and Type Method Description Memtable
Tracker. getMemtableFor(OpOrder.Group opGroup, CommitLogPosition commitLogPosition)
get the Memtable that the ordered writeOp should be directed to -
Uses of OpOrder.Group in org.apache.cassandra.db.memtable
Methods in org.apache.cassandra.db.memtable with parameters of type OpOrder.Group Modifier and Type Method Description boolean
AbstractMemtableWithCommitlog. accepts(OpOrder.Group opGroup, CommitLogPosition commitLogPosition)
boolean
Memtable. accepts(OpOrder.Group opGroup, CommitLogPosition commitLogPosition)
Decide if this memtable should take a write with the given parameters, or if the write should go to the next memtable.void
AbstractAllocatorMemtable. markExtraOffHeapUsed(long additionalSpace, OpOrder.Group opGroup)
void
Memtable. markExtraOffHeapUsed(long additionalSpace, OpOrder.Group opGroup)
Adjust the used off-heap space by the given size (e.g.void
AbstractAllocatorMemtable. markExtraOnHeapUsed(long additionalSpace, OpOrder.Group opGroup)
void
Memtable. markExtraOnHeapUsed(long additionalSpace, OpOrder.Group opGroup)
Adjust the used on-heap space by the given size (e.g.long
Memtable. put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup)
Put new data in the memtable.long
ShardedSkipListMemtable. put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup)
Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering.long
SkipListMemtable. put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup)
Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering.long
TrieMemtable. put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup)
Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering. -
Uses of OpOrder.Group in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions with parameters of type OpOrder.Group Modifier and Type Method Description BTreePartitionUpdater
AtomicBTreePartition. addAll(PartitionUpdate update, Cloner cloner, OpOrder.Group writeOp, UpdateTransaction indexer)
Adds a given update to this in-memtable partition.Constructors in org.apache.cassandra.db.partitions with parameters of type OpOrder.Group Constructor Description BTreePartitionUpdater(MemtableAllocator allocator, Cloner cloner, OpOrder.Group writeOp, UpdateTransaction indexer)
-
Uses of OpOrder.Group in org.apache.cassandra.db.rows
Constructors in org.apache.cassandra.db.rows with parameters of type OpOrder.Group Constructor Description NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell<?> cell)
NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnMetadata column, long timestamp, int ttl, int localDeletionTimeUnsignedInteger, java.nio.ByteBuffer value, CellPath path)
NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnMetadata column, long timestamp, int ttl, long localDeletionTime, java.nio.ByteBuffer value, CellPath path)
-
Uses of OpOrder.Group in org.apache.cassandra.utils.concurrent
Methods in org.apache.cassandra.utils.concurrent that return OpOrder.Group Modifier and Type Method Description OpOrder.Group
OpOrder. getCurrent()
OpOrder.Group
OpOrder.Barrier. getSyncPoint()
returns the Group we are waiting on - any Group with.compareTo(getSyncPoint()) <= 0
must complete before await() returnsOpOrder.Group
OpOrder.Group. prev()
OpOrder.Group
OpOrder. start()
Start an operation against this OpOrder.Methods in org.apache.cassandra.utils.concurrent with parameters of type OpOrder.Group Modifier and Type Method Description int
OpOrder.Group. compareTo(OpOrder.Group that)
boolean
OpOrder.Barrier. isAfter(OpOrder.Group group)
-
Uses of OpOrder.Group in org.apache.cassandra.utils.memory
Methods in org.apache.cassandra.utils.memory with parameters of type OpOrder.Group Modifier and Type Method Description void
MemtableAllocator.SubAllocator. adjust(long size, OpOrder.Group opGroup)
Like allocate, but permits allocations to be negative.java.nio.ByteBuffer
HeapPool.Allocator. allocate(int size, OpOrder.Group opGroup)
void
MemtableAllocator.SubAllocator. allocate(long size, OpOrder.Group opGroup)
abstract java.nio.ByteBuffer
MemtableBufferAllocator. allocate(int size, OpOrder.Group opGroup)
long
NativeAllocator. allocate(int size, OpOrder.Group opGroup)
java.nio.ByteBuffer
SlabAllocator. allocate(int size, OpOrder.Group opGroup)
protected Cloner
MemtableBufferAllocator. allocator(OpOrder.Group opGroup)
DecoratedKey
NativeAllocator. clone(DecoratedKey key, OpOrder.Group writeOp)
Cloner
HeapPool.Allocator. cloner(OpOrder.Group opGroup)
abstract Cloner
MemtableAllocator. cloner(OpOrder.Group opGroup)
Cloner
NativeAllocator. cloner(OpOrder.Group opGroup)
Cloner
SlabAllocator. cloner(OpOrder.Group writeOp)
Row.Builder
NativeAllocator. rowBuilder(OpOrder.Group opGroup)
-