public interface DiskStoreMXBean
DiskStore
.Modifier and Type | Method and Description |
---|---|
void |
flush()
Causes any data that is currently in the asynchronous queue to be written to disk.
|
boolean |
forceCompaction()
Requests the DiskStore to start compacting.
|
void |
forceRoll()
Requests the DiskStore to start writing to a new op-log.
|
int |
getCompactionThreshold()
Returns the threshold at which an op-log may be compacted.
|
String[] |
getDiskDirectories()
Returns the path of the directories to which the region's data will be written.
|
default float |
getDiskFreePercentage()
Returns the free percentage of this disk storage if directories where created with max size.
|
long |
getDiskReadsAvgLatency()
Returns the disk reads average latency in nanoseconds.
|
float |
getDiskReadsRate()
Returns the average latency of disk reads in nanoseconds Its the average latency required to
read a byte from disk.
|
float |
getDiskUsageCriticalPercentage()
Returns the critical threshold for disk usage as a percentage of the total disk volume.
|
default float |
getDiskUsagePercentage()
Returns the usage percentage of this disk storage if directories where created with max size.
|
float |
getDiskUsageWarningPercentage()
Returns the warning threshold for disk usage as a percentage of the total disk volume.
|
long |
getDiskWritesAvgLatency()
Returns the disk writes average latency in nanoseconds.
|
float |
getDiskWritesRate()
Returns the average latency of disk writes in nanoseconds.
|
long |
getFlushTimeAvgLatency()
Returns the flush time average latency.
|
long |
getMaxOpLogSize()
Returns the maximum size (in megabytes) that a single op-log can grow to.
|
String |
getName()
Returns the name of the DiskStore.
|
int |
getQueueSize()
Returns the maximum number of operations that can be asynchronously queued for saving to disk.
|
long |
getTimeInterval()
Returns the time (in milliseconds) that can elapse before unwritten data is saved to disk.
|
int |
getTotalBackupCompleted()
Returns the number of backups of this DiskStore that have been completed.
|
int |
getTotalBackupInProgress()
Returns the number of backups currently in progress on this DiskStore.
|
long |
getTotalBytesOnDisk()
Returns the total number of bytes of space this DiskStore has used.
|
int |
getTotalQueueSize()
Returns the number of entries in the asynchronous queue waiting to be written to disk.
|
int |
getTotalRecoveriesInProgress()
Returns the number of persistent regions currently being recovered from disk.
|
int |
getWriteBufferSize()
Returns the size of the write buffer that this DiskStore will use when writing data to disk.
|
boolean |
isAutoCompact()
Returns whether disk files are to be automatically compacted.
|
boolean |
isForceCompactionAllowed()
Returns whether manual compaction of disk files is allowed.
|
void |
setDiskUsageCriticalPercentage(float criticalPercent)
Sets the value of the disk usage critical percentage.
|
void |
setDiskUsageWarningPercentage(float warningPercent)
Sets the value of the disk usage warning percentage.
|
String getName()
boolean isAutoCompact()
int getCompactionThreshold()
boolean isForceCompactionAllowed()
long getMaxOpLogSize()
long getTimeInterval()
int getWriteBufferSize()
String[] getDiskDirectories()
int getQueueSize()
long getTotalBytesOnDisk()
float getDiskReadsRate()
float getDiskWritesRate()
long getDiskReadsAvgLatency()
long getDiskWritesAvgLatency()
long getFlushTimeAvgLatency()
int getTotalQueueSize()
int getTotalBackupInProgress()
int getTotalBackupCompleted()
int getTotalRecoveriesInProgress()
void forceRoll()
boolean forceCompaction()
void flush()
float getDiskUsageWarningPercentage()
float getDiskUsageCriticalPercentage()
default float getDiskUsagePercentage()
default float getDiskFreePercentage()
void setDiskUsageWarningPercentage(float warningPercent)
warningPercent
- the warning percentvoid setDiskUsageCriticalPercentage(float criticalPercent)
criticalPercent
- the critical percent