Interface Memtable.Owner

  • All Known Implementing Classes:
    ColumnFamilyStore
    Enclosing interface:
    Memtable

    public static interface Memtable.Owner
    Interface for providing signals back and requesting information from the owner, i.e. the object that controls the memtable. This is usually the ColumnFamilyStore; the interface is used to limit the dependency of memtables on the details of its implementation.
    • Method Detail

      • getCurrentMemtable

        Memtable getCurrentMemtable()
        Get the current memtable for this owner. Used to avoid capturing memtable in scheduled flush tasks.
      • getIndexMemtables

        java.lang.Iterable<Memtable> getIndexMemtables()
        Collect the index memtables flushed together with this. Used to accurately calculate memory that would be freed by a flush.