public class DataStorageMetricsAdapter extends Object implements PersistenceMetrics
DataStorageMetrics
to legacy PersistenceMetrics
.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 |
getLastCheckpointFsyncDuration()
Gets the duration of the sync phase of the last checkpoint in milliseconds.
|
long |
getLastCheckpointingDuration()
Gets the duration 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.
|
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.
|
static DataStorageMetricsAdapter |
valueOf(DataStorageMetrics delegate) |
public static DataStorageMetricsAdapter valueOf(DataStorageMetrics delegate)
delegate
- DataStorageMetrics.DataStorageMetrics
that implements PersistenceMetrics
.
Null value is not wrapped and returned as is.public float getWalLoggingRate()
The length of time interval is configured via PersistentStoreConfiguration.setRateTimeInterval(long)
configurartion property.
The number of subintervals is configured via PersistentStoreConfiguration.setSubIntervals(int)
configuration property.
getWalLoggingRate
in interface PersistenceMetrics
public float getWalWritingRate()
PersistentStoreConfiguration.setRateTimeInterval(long)
configurartion property.
The number of subintervals is configured via PersistentStoreConfiguration.setSubIntervals(int)
configuration property.getWalWritingRate
in interface PersistenceMetrics
public int getWalArchiveSegments()
getWalArchiveSegments
in interface PersistenceMetrics
public float getWalFsyncTimeAverage()
The length of time interval is configured via PersistentStoreConfiguration.setRateTimeInterval(long)
configurartion property.
The number of subintervals is configured via PersistentStoreConfiguration.setSubIntervals(int)
configuration property.
getWalFsyncTimeAverage
in interface PersistenceMetrics
public long getLastCheckpointingDuration()
getLastCheckpointingDuration
in interface PersistenceMetrics
public long getLastCheckpointLockWaitDuration()
getLastCheckpointLockWaitDuration
in interface PersistenceMetrics
public long getLastCheckpointMarkDuration()
getLastCheckpointMarkDuration
in interface PersistenceMetrics
public long getLastCheckpointPagesWriteDuration()
getLastCheckpointPagesWriteDuration
in interface PersistenceMetrics
public long getLastCheckpointFsyncDuration()
getLastCheckpointFsyncDuration
in interface PersistenceMetrics
public long getLastCheckpointTotalPagesNumber()
getLastCheckpointTotalPagesNumber
in interface PersistenceMetrics
public long getLastCheckpointDataPagesNumber()
getLastCheckpointDataPagesNumber
in interface PersistenceMetrics
public long getLastCheckpointCopiedOnWritePagesNumber()
getLastCheckpointCopiedOnWritePagesNumber
in interface PersistenceMetrics
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019