public class Memtable
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
ColumnFamilyStore |
cfs |
AbstractType |
initialComparator |
| Constructor and Description |
|---|
Memtable(ColumnFamilyStore cfs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
contents() |
long |
creationTime() |
void |
flushAndSignal(java.util.concurrent.CountDownLatch latch,
java.util.concurrent.Future<ReplayPosition> context) |
ColumnFamily |
getColumnFamily(DecoratedKey key) |
java.util.Iterator<java.util.Map.Entry<DecoratedKey,AtomicSortedColumns>> |
getEntryIterator(RowPosition startWith,
RowPosition stopAt) |
long |
getLiveSize() |
long |
getOperations() |
boolean |
isClean() |
boolean |
isExpired() |
java.lang.String |
toString() |
void |
updateLiveRatio() |
public final ColumnFamilyStore cfs
public final AbstractType initialComparator
public Memtable(ColumnFamilyStore cfs)
public long getLiveSize()
public long getOperations()
public void updateLiveRatio()
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic java.lang.String contents()
public void flushAndSignal(java.util.concurrent.CountDownLatch latch,
java.util.concurrent.Future<ReplayPosition> context)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Iterator<java.util.Map.Entry<DecoratedKey,AtomicSortedColumns>> getEntryIterator(RowPosition startWith, RowPosition stopAt)
startWith - Include data in the result from and including this key and to the end of the memtablepublic boolean isClean()
public boolean isExpired()
public ColumnFamily getColumnFamily(DecoratedKey key)
public long creationTime()
Copyright © 2013 The Apache Software Foundation