public class DefaultCompactionStrategyMBean extends org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean implements CompactionStrategyMBean
TYPE| Constructor and Description |
|---|
DefaultCompactionStrategyMBean(CompactionStrategy strategy) |
| 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
|
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterNamecacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic DefaultCompactionStrategyMBean(CompactionStrategy strategy)
public boolean isCloneBinaries()
isCloneBinaries in interface CompactionStrategyMBeanpublic void setCloneBinaries(boolean cloneBinaries)
setCloneBinaries in interface CompactionStrategyMBeanpublic boolean isPausedCompaction()
isPausedCompaction in interface CompactionStrategyMBeanpublic void setPausedCompaction(boolean pausedCompaction)
setPausedCompaction in interface CompactionStrategyMBeanpublic String getCleanupStrategy()
getCleanupStrategy in interface CompactionStrategyMBeanpublic void setCleanupStrategy(String cleanup)
setCleanupStrategy in interface CompactionStrategyMBeanpublic long getOlderThan()
getOlderThan in interface CompactionStrategyMBeanpublic void setOlderThan(long olderThan)
setOlderThan in interface CompactionStrategyMBeanpublic byte getMemoryThreshold()
getMemoryThreshold in interface CompactionStrategyMBeanpublic void setMemoryThreshold(byte memory)
setMemoryThreshold in interface CompactionStrategyMBeanpublic boolean getForceAfterFail()
CompactionStrategyMBeangetForceAfterFail in interface CompactionStrategyMBeantrue if force commit is on, false otherwisepublic void setForceAfterFail(boolean forceAfterFail)
CompactionStrategyMBeansetForceAfterFail in interface CompactionStrategyMBeanpublic int getRetryCount()
CompactionStrategyMBeangetRetryCount in interface CompactionStrategyMBeanpublic void setRetryCount(int retryCount)
CompactionStrategyMBeansetRetryCount in interface CompactionStrategyMBeanpublic byte getGainThreshold()
CompactionStrategyMBeangetGainThreshold in interface CompactionStrategyMBeanpublic void setGainThreshold(byte gainThreshold)
CompactionStrategyMBeansetGainThreshold in interface CompactionStrategyMBeanCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.