public class DataStorageMetricsSnapshot extends Object implements DataStorageMetrics
| Constructor and Description |
|---|
DataStorageMetricsSnapshot(DataStorageMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastCheckpointCopiedOnWritePagesNumber()
Gets the number of pages copied to a temporary checkpoint buffer during the last checkpoint.
|
long |
getLastCheckpointDataPagesNumber()
Gets the number of data pages written during the last checkpoint.
|
long |
getLastCheckpointDuration()
Gets the duration of the last checkpoint in milliseconds.
|
long |
getLastCheckpointFsyncDuration()
Gets the duration of the sync phase of the last checkpoint in milliseconds.
|
long |
getLastCheckpointLockWaitDuration()
Gets the duration of last checkpoint lock wait in milliseconds.
|
long |
getLastCheckpointMarkDuration()
Gets the duration of last checkpoint mark phase in milliseconds.
|
long |
getLastCheckpointPagesWriteDuration()
Gets the duration of last checkpoint pages write phase in milliseconds.
|
long |
getLastCheckpointTotalPagesNumber()
Gets the total number of pages written during the last checkpoint.
|
int |
getWalArchiveSegments()
Gets the current number of WAL segments in the WAL archive.
|
long |
getWalBuffPollSpinsRate()
Returns WAL buffer poll spins number over the last time interval.
|
float |
getWalFsyncTimeAverage()
Gets the average WAL fsync duration in microseconds over the last time interval.
|
float |
getWalLoggingRate()
Gets the average number of WAL records per second written during the last time interval.
|
float |
getWalWritingRate()
Gets the average number of bytes per second written during the last time interval.
|
String |
toString() |
public DataStorageMetricsSnapshot(DataStorageMetrics metrics)
metrics - Metrics.public float getWalLoggingRate()
The length of time interval is configured via DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.
The number of subintervals is configured via DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration property.
getWalLoggingRate in interface DataStorageMetricspublic float getWalWritingRate()
DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.
The number of subintervals is configured via DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration property.getWalWritingRate in interface DataStorageMetricspublic int getWalArchiveSegments()
getWalArchiveSegments in interface DataStorageMetricspublic float getWalFsyncTimeAverage()
The length of time interval is configured via DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.
The number of subintervals is configured via DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration property.
getWalFsyncTimeAverage in interface DataStorageMetricspublic long getWalBuffPollSpinsRate()
The length of time interval is configured via DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.
The number of subintervals is configured via DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration property.
getWalBuffPollSpinsRate in interface DataStorageMetricspublic long getLastCheckpointDuration()
getLastCheckpointDuration in interface DataStorageMetricspublic long getLastCheckpointLockWaitDuration()
getLastCheckpointLockWaitDuration in interface DataStorageMetricspublic long getLastCheckpointMarkDuration()
getLastCheckpointMarkDuration in interface DataStorageMetricspublic long getLastCheckpointPagesWriteDuration()
getLastCheckpointPagesWriteDuration in interface DataStorageMetricspublic long getLastCheckpointFsyncDuration()
getLastCheckpointFsyncDuration in interface DataStorageMetricspublic long getLastCheckpointTotalPagesNumber()
getLastCheckpointTotalPagesNumber in interface DataStorageMetricspublic long getLastCheckpointDataPagesNumber()
getLastCheckpointDataPagesNumber in interface DataStorageMetricspublic long getLastCheckpointCopiedOnWritePagesNumber()
getLastCheckpointCopiedOnWritePagesNumber in interface DataStorageMetrics
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018