GridMetricManager
instead.@Deprecated public class DataStorageMetricsAdapter extends Object implements PersistenceMetrics
DataStorageMetrics
to legacy PersistenceMetrics
.Modifier and Type | Method and Description |
---|---|
long |
getLastCheckpointCopiedOnWritePagesNumber()
Deprecated.
Gets the number of pages copied to a temporary checkpoint buffer during the last checkpoint.
|
long |
getLastCheckpointDataPagesNumber()
Deprecated.
Gets the number of data pages written during the last checkpoint.
|
long |
getLastCheckpointFsyncDuration()
Deprecated.
Gets the duration of the sync phase of the last checkpoint in milliseconds.
|
long |
getLastCheckpointingDuration()
Deprecated.
Gets the duration of the last checkpoint in milliseconds.
|
long |
getLastCheckpointLockWaitDuration()
Deprecated.
Gets the duration of last checkpoint lock wait in milliseconds.
|
long |
getLastCheckpointMarkDuration()
Deprecated.
Gets the duration of last checkpoint mark phase in milliseconds.
|
long |
getLastCheckpointPagesWriteDuration()
Deprecated.
Gets the duration of last checkpoint pages write phase in milliseconds.
|
long |
getLastCheckpointTotalPagesNumber()
Deprecated.
Gets the total number of pages written during the last checkpoint.
|
int |
getWalArchiveSegments()
Deprecated.
Gets the current number of WAL segments in the WAL archive.
|
float |
getWalFsyncTimeAverage()
Deprecated.
Gets the average WAL fsync duration in microseconds over the last time interval.
|
float |
getWalLoggingRate()
Deprecated.
Gets the average number of WAL records per second written during the last time interval.
|
float |
getWalWritingRate()
Deprecated.
Gets the average number of bytes per second written during the last time interval.
|
static DataStorageMetricsAdapter |
valueOf(DataStorageMetrics delegate)
Deprecated.
|
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
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024