public interface CompactionStrategyMBean
| Modifier and Type | Method and Description |
|---|---|
String |
getCleanupStrategy() |
boolean |
getForceAfterFail()
Get whether or not to force compact concurrent commits on top of already
compacted commits after the maximum number of retries has been reached.
|
byte |
getGainThreshold()
Get the compaction gain estimate threshold beyond which compaction should
run
|
byte |
getMemoryThreshold() |
long |
getOlderThan() |
int |
getRetryCount()
Get the number of tries to compact concurrent commits on top of already
compacted commits
|
boolean |
isCloneBinaries() |
boolean |
isPausedCompaction() |
void |
setCleanupStrategy(String cleanup) |
void |
setCloneBinaries(boolean cloneBinaries) |
void |
setForceAfterFail(boolean forceAfterFail)
Set whether or not to force compact concurrent commits on top of already
compacted commits after the maximum number of retries has been reached.
|
void |
setGainThreshold(byte gainThreshold)
Set the compaction gain estimate threshold beyond which compaction should
run
|
void |
setMemoryThreshold(byte memory) |
void |
setOlderThan(long olderThan) |
void |
setPausedCompaction(boolean pausedCompaction) |
void |
setRetryCount(int retryCount)
Set the number of tries to compact concurrent commits on top of already
compacted commits
|
static final String TYPE
boolean isCloneBinaries()
void setCloneBinaries(boolean cloneBinaries)
boolean isPausedCompaction()
void setPausedCompaction(boolean pausedCompaction)
String getCleanupStrategy()
void setCleanupStrategy(String cleanup)
long getOlderThan()
void setOlderThan(long olderThan)
byte getMemoryThreshold()
void setMemoryThreshold(byte memory)
boolean getForceAfterFail()
true if force commit is on, false otherwisevoid setForceAfterFail(boolean forceAfterFail)
forceAfterFail - int getRetryCount()
void setRetryCount(int retryCount)
retryCount - byte getGainThreshold()
void setGainThreshold(byte gainThreshold)
gainThreshold - Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.