org.apache.cassandra.db
Interface ColumnFamilyStoreMBean

All Known Implementing Classes:
ColumnFamilyStore

public interface ColumnFamilyStoreMBean

The MBean interface for ColumnFamilyStore


Method Summary
 java.lang.Object forceFlush()
          Triggers an immediate memtable flush.
 java.lang.String getColumnFamilyName()
           
 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 getPendingTasks()
           
 int getReadCount()
           
 double getReadLatency()
           
 int getWriteCount()
           
 double getWriteLatency()
           
 

Method Detail

getColumnFamilyName

java.lang.String getColumnFamilyName()
Returns:
the name of the column family

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

java.lang.Object forceFlush()
                            throws java.io.IOException
Triggers an immediate memtable flush.

Throws:
java.io.IOException

getReadCount

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

getReadLatency

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

getWriteCount

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

getWriteLatency

double getWriteLatency()
Returns:
average latency per write operation in the last minute

getPendingTasks

int getPendingTasks()
Returns:
the estimated number of tasks pending for this column family


Copyright © 2010 The Apache Software Foundation