Uses of Interface
org.apache.cassandra.db.memtable.Memtable
-
-
Uses of Memtable in org.apache.cassandra.db
Fields in org.apache.cassandra.db with type parameters of type Memtable Modifier and Type Field Description java.lang.Iterable<Memtable>ColumnFamilyStore.ViewFragment. memtablesMethods in org.apache.cassandra.db that return Memtable Modifier and Type Method Description MemtableColumnFamilyStore. createMemtable(java.util.concurrent.atomic.AtomicReference<CommitLogPosition> commitLogUpperBound)MemtableColumnFamilyStore. getCurrentMemtable()Methods in org.apache.cassandra.db that return types with arguments of type Memtable Modifier and Type Method Description static java.lang.Iterable<Memtable>ColumnFamilyStore. activeMemtables()java.lang.Iterable<Memtable>ColumnFamilyStore. getIndexMemtables()Methods in org.apache.cassandra.db with parameters of type Memtable Modifier and Type Method Description Future<CommitLogPosition>ColumnFamilyStore. signalFlushRequired(Memtable memtable, ColumnFamilyStore.FlushReason reason)Future<CommitLogPosition>ColumnFamilyStore. switchMemtableIfCurrent(Memtable memtable, ColumnFamilyStore.FlushReason reason)Switches the memtable iff the live memtable is the one providedConstructor parameters in org.apache.cassandra.db with type arguments of type Memtable Constructor Description RefViewFragment(java.util.List<SSTableReader> sstables, java.lang.Iterable<Memtable> memtables, Refs<SSTableReader> refs)ViewFragment(java.util.List<SSTableReader> sstables, java.lang.Iterable<Memtable> memtables) -
Uses of Memtable in org.apache.cassandra.db.lifecycle
Fields in org.apache.cassandra.db.lifecycle with type parameters of type Memtable Modifier and Type Field Description java.util.List<Memtable>View. flushingMemtablescontains all memtables that are no longer referenced for writing and are queued for / in the process of being flushed.java.util.List<Memtable>View. liveMemtablesordinarily a list of size 1, but when preparing to flush will contain both the memtable we will flush and the new replacement memtable, until all outstanding write operations on the old table complete.Methods in org.apache.cassandra.db.lifecycle that return Memtable Modifier and Type Method Description MemtableView. getCurrentMemtable()MemtableTracker. getMemtableFor(OpOrder.Group opGroup, CommitLogPosition commitLogPosition)get the Memtable that the ordered writeOp should be directed toMemtableTracker. switchMemtable(boolean truncating, Memtable newMemtable)Switch the current memtable.Methods in org.apache.cassandra.db.lifecycle that return types with arguments of type Memtable Modifier and Type Method Description java.lang.Iterable<Memtable>View. getAllMemtables()Methods in org.apache.cassandra.db.lifecycle with parameters of type Memtable Modifier and Type Method Description voidTracker. markFlushing(Memtable memtable)voidTracker. notifyDiscarded(Memtable discarded)voidTracker. notifyRenewed(Memtable renewed)voidTracker. notifySwitched(Memtable previous)voidTracker. replaceFlushed(Memtable memtable, java.lang.Iterable<SSTableReader> sstables)voidTracker. reset(Memtable memtable)(Re)initializes the tracker, purging all references.MemtableTracker. switchMemtable(boolean truncating, Memtable newMemtable)Switch the current memtable.Constructors in org.apache.cassandra.db.lifecycle with parameters of type Memtable Constructor Description Tracker(ColumnFamilyStore columnFamilyStore, Memtable memtable, boolean loadsstables) -
Uses of Memtable in org.apache.cassandra.db.memtable
Classes in org.apache.cassandra.db.memtable that implement Memtable Modifier and Type Class Description classAbstractAllocatorMemtableA memtable that uses memory tracked and maybe allocated via a MemtableAllocator from a MemtablePool.classAbstractMemtableclassAbstractMemtableWithCommitlogMemtable that uses a commit log for persistence.classShardedSkipListMemtableA proof-of-concept sharded memtable implementation.classSkipListMemtableMethods in org.apache.cassandra.db.memtable that return Memtable Modifier and Type Method Description MemtableMemtable.Factory. create(java.util.concurrent.atomic.AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadaRef, Memtable.Owner owner)Create a memtable.MemtableSkipListMemtableFactory. create(java.util.concurrent.atomic.AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadaRef, Memtable.Owner owner)MemtableMemtable.Owner. getCurrentMemtable()Get the current memtable for this owner.MemtableMemtable.FlushablePartitionSet. memtable()Methods in org.apache.cassandra.db.memtable that return types with arguments of type Memtable Modifier and Type Method Description java.lang.Iterable<Memtable>Memtable.Owner. getIndexMemtables()Collect the index memtables flushed together with this.Methods in org.apache.cassandra.db.memtable with parameters of type Memtable Modifier and Type Method Description default intMemtable. compareTo(Memtable that)Order memtables by time as reflected in the commit log position at time of constructionstatic java.util.List<Flushing.FlushRunnable>Flushing. flushRunnables(ColumnFamilyStore cfs, Memtable memtable, LifecycleTransaction txn)static Memtable.MemoryUsageMemtable. getMemoryUsage(Memtable memtable)Shorthand for the getting a given table's memory usage.Future<CommitLogPosition>Memtable.Owner. signalFlushRequired(Memtable memtable, ColumnFamilyStore.FlushReason reason)Signal to the owner that a flush is required (e.g. -
Uses of Memtable in org.apache.cassandra.index
Methods in org.apache.cassandra.index with parameters of type Memtable Modifier and Type Method Description voidSecondaryIndexManager. flushAllNonCFSBackedIndexesBlocking(Memtable baseCfsMemtable)Performs a blocking flush of all custom indexesdefault java.util.concurrent.Callable<?>Index. getBlockingFlushTask(Memtable baseCfs)Return a task which performs a blocking flush of the index's data corresponding to the provided base table's Memtable. -
Uses of Memtable in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf with parameters of type Memtable Modifier and Type Method Description voidColumnIndex. discardMemtable(Memtable parent)voidColumnIndex. switchMemtable(Memtable parent) -
Uses of Memtable in org.apache.cassandra.notifications
Fields in org.apache.cassandra.notifications declared as Memtable Modifier and Type Field Description MemtableMemtableDiscardedNotification. memtableMemtableMemtableSwitchedNotification. memtableMemtableMemtableRenewedNotification. renewedMethods in org.apache.cassandra.notifications that return types with arguments of type Memtable Modifier and Type Method Description java.util.Optional<Memtable>SSTableAddedNotification. memtable()Returns the memtable from which the tables come when they have been added due to a memtable flush.Constructors in org.apache.cassandra.notifications with parameters of type Memtable Constructor Description MemtableDiscardedNotification(Memtable discarded)MemtableRenewedNotification(Memtable renewed)MemtableSwitchedNotification(Memtable switched)SSTableAddedNotification(java.lang.Iterable<SSTableReader> added, Memtable memtable)Creates a newSSTableAddedNotificationfor the specified SSTables and optional memtable. -
Uses of Memtable in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type Memtable Modifier and Type Method Description CloseableIterator<PaxosKeyState>PaxosUncommittedIndex. flushIterator(Memtable flushing)CloseableIterator<PaxosKeyState>PaxosUncommittedTracker.UpdateSupplier. flushIterator(Memtable paxos)java.util.concurrent.Callable<?>PaxosUncommittedIndex. getBlockingFlushTask(Memtable paxos)
-