public interface CompactionManagerMBean
| Modifier and Type | Method and Description | 
|---|---|
| void | forceUserDefinedCleanup(java.lang.String dataFiles)Triggers the cleanup of user specified sstables. | 
| void | forceUserDefinedCompaction(java.lang.String dataFiles)Triggers the compaction of user specified sstables. | 
| javax.management.openmbean.TabularData | getCompactionHistory()compaction history | 
| java.util.List<java.util.Map<java.lang.String,java.lang.String>> | getCompactions()List of running compaction objects. | 
| java.util.List<java.lang.String> | getCompactionSummary()List of running compaction summary strings. | 
| int | getCoreCompactorThreads()Returns core size of compaction thread pool | 
| int | getCoreValidationThreads()Returns core size of validation thread pool | 
| int | getMaximumCompactorThreads()Returns maximum size of compaction thread pool | 
| int | getMaximumValidatorThreads()Returns size of validator thread pool | 
| void | setCoreCompactorThreads(int number)Allows user to resize maximum size of the compaction thread pool. | 
| void | setCoreValidationThreads(int number)Allows user to resize maximum size of the compaction thread pool. | 
| void | setMaximumCompactorThreads(int number)Allows user to resize maximum size of the compaction thread pool. | 
| void | setMaximumValidatorThreads(int number)Allows user to resize maximum size of the validator thread pool. | 
| void | stopCompaction(java.lang.String type)Stop all running compaction-like tasks having the provided  type. | 
| void | stopCompactionById(java.lang.String compactionId)Stop an individual running compaction using the compactionId. | 
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getCompactions()
java.util.List<java.lang.String> getCompactionSummary()
javax.management.openmbean.TabularData getCompactionHistory()
void forceUserDefinedCompaction(java.lang.String dataFiles)
dataFiles - a comma separated list of sstable file to compact.
                  must contain keyspace and columnfamily name in path(for 2.1+) or file name itself.void forceUserDefinedCleanup(java.lang.String dataFiles)
dataFiles - a comma separated list of sstable file to cleanup.
                  must contain keyspace and columnfamily name in path(for 2.1+) or file name itself.void stopCompaction(java.lang.String type)
type.type - the type of compaction to stop. Can be one of:
   - COMPACTION
   - VALIDATION
   - CLEANUP
   - SCRUB
   - INDEX_BUILDvoid stopCompactionById(java.lang.String compactionId)
compactionId - Compaction ID of compaction to stop. Such IDs can be found in
                     the transaction log files whose name starts with compaction_,
                     located in the table transactions folder.int getCoreCompactorThreads()
void setCoreCompactorThreads(int number)
number - New maximum of compaction threadsint getMaximumCompactorThreads()
void setMaximumCompactorThreads(int number)
number - New maximum of compaction threadsint getCoreValidationThreads()
void setCoreValidationThreads(int number)
number - New maximum of compaction threadsint getMaximumValidatorThreads()
void setMaximumValidatorThreads(int number)
number - New maximum of validator threadsCopyright © 2018 The Apache Software Foundation