public static class DiskStoreProperties.StoreProperties
extends java.lang.Object
| Constructor and Description |
|---|
StoreProperties() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCompactionThreshold() |
DiskStoreProperties.DirectoryProperties[] |
getDirectory() |
float |
getDiskUsageCriticalPercentage() |
float |
getDiskUsageWarningPercentage() |
long |
getMaxOplogSize() |
int |
getQueueSize() |
long |
getTimeInterval() |
int |
getWriteBufferSize() |
boolean |
isAllowForceCompaction() |
boolean |
isAutoCompact() |
void |
setAllowForceCompaction(boolean allowForceCompaction) |
void |
setAutoCompact(boolean autoCompact) |
void |
setCompactionThreshold(int compactionThreshold) |
void |
setDirectory(DiskStoreProperties.DirectoryProperties[] directoryProperties) |
void |
setDiskUsageCriticalPercentage(float diskUsageCriticalPercentage) |
void |
setDiskUsageWarningPercentage(float diskUsageWarningPercentage) |
void |
setMaxOplogSize(long maxOplogSize) |
void |
setQueueSize(int queueSize) |
void |
setTimeInterval(long timeInterval) |
void |
setWriteBufferSize(int writeBufferSize) |
public boolean isAllowForceCompaction()
public void setAllowForceCompaction(boolean allowForceCompaction)
public boolean isAutoCompact()
public void setAutoCompact(boolean autoCompact)
public int getCompactionThreshold()
public void setCompactionThreshold(int compactionThreshold)
public DiskStoreProperties.DirectoryProperties[] getDirectory()
public void setDirectory(DiskStoreProperties.DirectoryProperties[] directoryProperties)
public float getDiskUsageCriticalPercentage()
public void setDiskUsageCriticalPercentage(float diskUsageCriticalPercentage)
public float getDiskUsageWarningPercentage()
public void setDiskUsageWarningPercentage(float diskUsageWarningPercentage)
public long getMaxOplogSize()
public void setMaxOplogSize(long maxOplogSize)
public int getQueueSize()
public void setQueueSize(int queueSize)
public long getTimeInterval()
public void setTimeInterval(long timeInterval)
public int getWriteBufferSize()
public void setWriteBufferSize(int writeBufferSize)