Constructor and Description |
---|
DiskMetrics() |
Modifier and Type | Method and Description |
---|---|
long |
getDiskFlushAvgLatency()
Returns the flush time average latency.
|
float |
getDiskReadsRate()
Returns the average number of disk reads per second.
|
float |
getDiskWritesRate()
Returns the average number of disk writes per second.
|
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 that have been used.
|
void |
setDiskFlushAvgLatency(long diskFlushAvgLatency)
Sets the flush time average latency.
|
void |
setDiskReadsRate(float diskReadsRate)
Sets the average number of disk reads per second.
|
void |
setDiskWritesRate(float diskWritesRate)
Sets the average number of disk writes per second.
|
void |
setTotalBackupCompleted(int totalBackupCompleted)
Sets the number of backups of this DiskStore that have been completed.
|
void |
setTotalBackupInProgress(int totalBackupInProgress)
Sets the number of backups currently in progress on this DiskStore.
|
void |
setTotalBytesOnDisk(long totalBytesOnDisk)
Sets the total number of bytes of space that have been used.
|
public float getDiskReadsRate()
public float getDiskWritesRate()
public int getTotalBackupInProgress()
public int getTotalBackupCompleted()
public long getTotalBytesOnDisk()
public long getDiskFlushAvgLatency()
public void setDiskReadsRate(float diskReadsRate)
diskReadsRate
- the average number of disk reads per secondpublic void setDiskWritesRate(float diskWritesRate)
diskWritesRate
- the average number of disk writes per secondpublic void setTotalBackupInProgress(int totalBackupInProgress)
totalBackupInProgress
- the number of backups currently in progress on this DiskStorepublic void setTotalBackupCompleted(int totalBackupCompleted)
totalBackupCompleted
- the number of backups of this DiskStore that have been completedpublic void setTotalBytesOnDisk(long totalBytesOnDisk)
totalBytesOnDisk
- the total number of bytes of space that have been usedpublic void setDiskFlushAvgLatency(long diskFlushAvgLatency)
diskFlushAvgLatency
- the flush time average latency