public interface CompactionManagerMBean
Modifier and Type | Method and Description |
---|---|
void |
forceUserDefinedCompaction(java.lang.String dataFiles)
Triggers the compaction of user specified sstables.
|
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.
|
long |
getCompletedTasks()
Deprecated.
|
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
|
int |
getPendingTasks()
Deprecated.
|
long |
getTotalBytesCompacted()
Deprecated.
|
long |
getTotalCompactionsCompleted()
Deprecated.
|
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 . |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getCompactions()
java.util.List<java.lang.String> getCompactionSummary()
@Deprecated int getPendingTasks()
CompactionMetrics.pendingTasks
@Deprecated long getCompletedTasks()
CompactionMetrics.completedTasks
@Deprecated long getTotalBytesCompacted()
CompactionMetrics.bytesCompacted
@Deprecated long getTotalCompactionsCompleted()
CompactionMetrics.totalCompactionsCompleted
void forceUserDefinedCompaction(java.lang.String dataFiles)
dataFiles
- a comma separated list of sstable filename to compactvoid stopCompaction(java.lang.String type)
type
.type
- the type of compaction to stop. Can be one of:
- COMPACTION
- VALIDATION
- CLEANUP
- SCRUB
- INDEX_BUILDint 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 © 2013 The Apache Software Foundation