|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.ColumnFamilyStore
public final class ColumnFamilyStore
Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )
Field Summary | |
---|---|
java.lang.String |
columnFamily_
|
Method Summary | |
---|---|
java.lang.String |
cfStats(java.lang.String newLineSeparator)
|
int |
doCompaction(int threshold)
|
void |
flushMemtableOnRecovery()
|
void |
forceFlush()
Triggers an immediate memtable flush. |
ColumnFamily |
getColumnFamily(java.lang.String key,
java.lang.String columnFamilyColumn,
IFilter filter)
|
ColumnFamily |
getColumnFamily(java.lang.String key,
java.lang.String columnFamilyColumn,
IFilter filter,
int gcBefore)
|
static ColumnFamilyStore |
getColumnFamilyStore(java.lang.String table,
java.lang.String columnFamily)
|
protected static int |
getIndexFromFileName(java.lang.String filename)
|
int |
getMemtableColumnsCount()
Returns the total number of columns present in the memtable. |
int |
getMemtableDataSize()
Returns the total amount of data stored in the memtable, including column related overhead. |
int |
getMemtableSwitchCount()
Returns the number of times that a flush has resulted in the memtable being switched out. |
int |
getReadCount()
|
int |
getReadDiskHits()
|
double |
getReadLatency()
|
java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock |
getReadLock()
|
java.util.SortedSet<java.lang.String> |
getSSTableFilenames()
not threadsafe. |
static java.util.List<Memtable> |
getUnflushedMemtables(java.lang.String cfName)
|
boolean |
isSuper()
|
java.util.Iterator<java.lang.String> |
memtableKeyIterator()
|
static void |
submitFlush(Memtable memtable,
CommitLog.CommitLogContext cLogCtx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.lang.String columnFamily_
Method Detail |
---|
public static ColumnFamilyStore getColumnFamilyStore(java.lang.String table, java.lang.String columnFamily) throws java.io.IOException
java.io.IOException
public java.lang.String cfStats(java.lang.String newLineSeparator)
protected static int getIndexFromFileName(java.lang.String filename)
public void forceFlush()
ColumnFamilyStoreMBean
forceFlush
in interface ColumnFamilyStoreMBean
public ColumnFamily getColumnFamily(java.lang.String key, java.lang.String columnFamilyColumn, IFilter filter) throws java.io.IOException
java.io.IOException
public ColumnFamily getColumnFamily(java.lang.String key, java.lang.String columnFamilyColumn, IFilter filter, int gcBefore) throws java.io.IOException
java.io.IOException
public int doCompaction(int threshold) throws java.io.IOException
java.io.IOException
public static java.util.List<Memtable> getUnflushedMemtables(java.lang.String cfName)
public static void submitFlush(Memtable memtable, CommitLog.CommitLogContext cLogCtx)
public boolean isSuper()
public void flushMemtableOnRecovery() throws java.io.IOException
java.io.IOException
public int getMemtableColumnsCount()
ColumnFamilyStoreMBean
getMemtableColumnsCount
in interface ColumnFamilyStoreMBean
public int getMemtableDataSize()
ColumnFamilyStoreMBean
getMemtableDataSize
in interface ColumnFamilyStoreMBean
public int getMemtableSwitchCount()
ColumnFamilyStoreMBean
getMemtableSwitchCount
in interface ColumnFamilyStoreMBean
public java.util.Iterator<java.lang.String> memtableKeyIterator() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public java.util.SortedSet<java.lang.String> getSSTableFilenames()
public java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock getReadLock()
public int getReadCount()
getReadCount
in interface ColumnFamilyStoreMBean
public int getReadDiskHits()
getReadDiskHits
in interface ColumnFamilyStoreMBean
public double getReadLatency()
getReadLatency
in interface ColumnFamilyStoreMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |