org.apache.cassandra.db
Interface ColumnFamilyStoreMBean

All Known Implementing Classes:
ColumnFamilyStore

public interface ColumnFamilyStoreMBean

The MBean interface for ColumnFamilyStore

Author:
Eric Evans

Method Summary
 void forceFlush()
          Triggers an immediate memtable flush.
 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()
           
 

Method Detail

getMemtableDataSize

int getMemtableDataSize()
Returns the total amount of data stored in the memtable, including column related overhead.

Returns:
The size in bytes.

getMemtableColumnsCount

int getMemtableColumnsCount()
Returns the total number of columns present in the memtable.

Returns:
The number of columns.

getMemtableSwitchCount

int getMemtableSwitchCount()
Returns the number of times that a flush has resulted in the memtable being switched out.

Returns:
the number of memtable switches

forceFlush

void forceFlush()
Triggers an immediate memtable flush.


getReadCount

int getReadCount()
Returns:
the number of read operations on this column family in the last minute

getReadDiskHits

int getReadDiskHits()
Returns:
the number of read operations on this column family that hit the disk in the last minute

getReadLatency

double getReadLatency()
Returns:
average latency per read operation in the last minute


Copyright © 2009 The Apache Software Foundation