org.apache.cassandra.db
Interface CompactionManagerMBean
- All Known Implementing Classes:
- CompactionManager
public interface CompactionManagerMBean
getColumnFamilyInProgress
java.lang.String getColumnFamilyInProgress()
- Returns:
- the columnfamily currently being compacted; null if none
getBytesTotalInProgress
java.lang.Long getBytesTotalInProgress()
- Returns:
- the total (data, not including index and filter) bytes being compacted; null if none
getBytesCompacted
java.lang.Long getBytesCompacted()
- Returns:
- the progress on the current compaction; null if none
getCompactionType
java.lang.String getCompactionType()
- Returns:
- the type of compaction operation currently in progress; null if none
getPendingTasks
int getPendingTasks()
- Returns:
- estimated number of compactions remaining to perform
getCompletedTasks
long getCompletedTasks()
- Returns:
- number of completed compactions since server [re]start
forceUserDefinedCompaction
void forceUserDefinedCompaction(java.lang.String ksname,
java.lang.String dataFiles)
- Triggers the compaction of user specified sstables.
- Parameters:
ksname
- the keyspace for the sstables to compactdataFiles
- a comma separated list of sstable filename to compact
Copyright © 2011 The Apache Software Foundation