public interface DataStorageMetricsMXBean extends DataStorageMetrics
Modifier and Type | Method and Description |
---|---|
void |
disableMetrics()
Disables persistence metrics collection on an Apache Ignite node.
|
void |
enableMetrics()
Enables persistence metrics collection on an Apache Ignite node.
|
long |
getCheckpointBufferSize()
Checkpoint buffer size in bytes.
|
long |
getCheckpointTotalTime()
Total checkpoint time from last restart.
|
long |
getDirtyPages()
Total dirty pages for the next checkpoint.
|
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.
|
long |
getOffHeapSize()
Total offheap size in bytes.
|
long |
getOffheapUsedSize()
Total used offheap size in bytes.
|
long |
getPagesRead()
The number of read pages from last restart.
|
long |
getPagesReplaced()
The number of replaced pages from last restart.
|
long |
getPagesWritten()
The number of written pages from last restart.
|
long |
getTotalAllocatedSize()
Total size of memory allocated in bytes.
|
long |
getUsedCheckpointBufferPages()
Gets used checkpoint buffer size in pages.
|
long |
getUsedCheckpointBufferSize()
Gets used checkpoint buffer size in bytes.
|
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.
|
long |
getWalLastRollOverTime()
Time of the last WAL segment rollover.
|
float |
getWalLoggingRate()
Gets the average number of WAL records per second written during the last time interval.
|
long |
getWalTotalSize()
Total size in bytes for storage wal files.
|
float |
getWalWritingRate()
Gets the average number of bytes per second written during the last time interval.
|
void |
rateTimeInterval(long rateTimeInterval)
Sets time interval for rate-based metrics.
|
void |
subIntervals(int subInts)
Sets a number of sub-intervals the whole
rateTimeInterval(long) will be split into to calculate
rate-based metrics. |
@MXBeanDescription(value="Average number of WAL records per second written during the last time interval.") 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 DataStorageMetrics
@MXBeanDescription(value="Average number of bytes per second written during the last time interval.") float getWalWritingRate()
DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.
The number of subintervals is configured via DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration property.getWalWritingRate
in interface DataStorageMetrics
@MXBeanDescription(value="Current number of WAL segments in the WAL archive.") int getWalArchiveSegments()
getWalArchiveSegments
in interface DataStorageMetrics
@MXBeanDescription(value="Average WAL fsync duration in microseconds over the last time interval.") 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 DataStorageMetrics
@MXBeanDescription(value="WAL buffer poll spins number over the last time interval.") 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 DataStorageMetrics
@MXBeanDescription(value="Total size in bytes for storage wal files.") long getWalTotalSize()
getWalTotalSize
in interface DataStorageMetrics
@MXBeanDescription(value="Time of the last WAL segment rollover.") long getWalLastRollOverTime()
getWalLastRollOverTime
in interface DataStorageMetrics
@MXBeanDescription(value="Total checkpoint time from last restart.") long getCheckpointTotalTime()
getCheckpointTotalTime
in interface DataStorageMetrics
@MXBeanDescription(value="Used checkpoint buffer size in pages.") long getUsedCheckpointBufferPages()
getUsedCheckpointBufferPages
in interface DataStorageMetrics
@MXBeanDescription(value="Used checkpoint buffer size in bytes.") long getUsedCheckpointBufferSize()
getUsedCheckpointBufferSize
in interface DataStorageMetrics
@MXBeanDescription(value="Total size in bytes for checkpoint buffer.") long getCheckpointBufferSize()
getCheckpointBufferSize
in interface DataStorageMetrics
@MXBeanDescription(value="Duration of the last checkpoint in milliseconds.") long getLastCheckpointDuration()
getLastCheckpointDuration
in interface DataStorageMetrics
@MXBeanDescription(value="Duration of the checkpoint lock wait in milliseconds.") long getLastCheckpointLockWaitDuration()
getLastCheckpointLockWaitDuration
in interface DataStorageMetrics
@MXBeanDescription(value="Duration of the checkpoint mark in milliseconds.") long getLastCheckpointMarkDuration()
getLastCheckpointMarkDuration
in interface DataStorageMetrics
@MXBeanDescription(value="Duration of the checkpoint pages write in milliseconds.") long getLastCheckpointPagesWriteDuration()
getLastCheckpointPagesWriteDuration
in interface DataStorageMetrics
@MXBeanDescription(value="Duration of the sync phase of the last checkpoint in milliseconds.") long getLastCheckpointFsyncDuration()
getLastCheckpointFsyncDuration
in interface DataStorageMetrics
@MXBeanDescription(value="Total number of pages written during the last checkpoint.") long getLastCheckpointTotalPagesNumber()
getLastCheckpointTotalPagesNumber
in interface DataStorageMetrics
@MXBeanDescription(value="Total number of data pages written during the last checkpoint.") long getLastCheckpointDataPagesNumber()
getLastCheckpointDataPagesNumber
in interface DataStorageMetrics
@MXBeanDescription(value="Number of pages copied to a temporary checkpoint buffer during the last checkpoint.") long getLastCheckpointCopiedOnWritePagesNumber()
getLastCheckpointCopiedOnWritePagesNumber
in interface DataStorageMetrics
@MXBeanDescription(value="Total dirty pages for the next checkpoint.") long getDirtyPages()
getDirtyPages
in interface DataStorageMetrics
@MXBeanDescription(value="The number of read pages from last restart.") long getPagesRead()
getPagesRead
in interface DataStorageMetrics
@MXBeanDescription(value="The number of written pages from last restart.") long getPagesWritten()
getPagesWritten
in interface DataStorageMetrics
@MXBeanDescription(value="The number of replaced pages from last restart.") long getPagesReplaced()
getPagesReplaced
in interface DataStorageMetrics
@MXBeanDescription(value="Total offheap size in bytes.") long getOffHeapSize()
getOffHeapSize
in interface DataStorageMetrics
@MXBeanDescription(value="Total used offheap size in bytes.") long getOffheapUsedSize()
getOffheapUsedSize
in interface DataStorageMetrics
@MXBeanDescription(value="Total size of memory allocated in bytes.") long getTotalAllocatedSize()
getTotalAllocatedSize
in interface DataStorageMetrics
@MXBeanDescription(value="Enables persistence metrics collection on an Apache Ignite node.") void enableMetrics()
@MXBeanDescription(value="Disables persistence metrics collection on an Apache Ignite node.") void disableMetrics()
@MXBeanDescription(value="Sets time interval for pages allocation and eviction monitoring purposes.") @MXBeanParametersNames(value="rateTimeInterval") @MXBeanParametersDescriptions(value="Time interval (in milliseconds) to set.") void rateTimeInterval(long rateTimeInterval)
DataStorageConfiguration.setMetricsRateTimeInterval(long)
configuration property.rateTimeInterval
- Time interval (in milliseconds) used for allocation and eviction rates calculations.@MXBeanDescription(value="Sets a number of sub-intervals to calculate allocation and eviction rates metrics.") @MXBeanParametersNames(value="subInts") @MXBeanParametersDescriptions(value="Number of subintervals to set.") void subIntervals(int subInts)
rateTimeInterval(long)
will be split into to calculate
rate-based metrics. Identical to setting DataStorageConfiguration.setMetricsSubIntervalCount(int)
configuration
property.subInts
- A number of sub-intervals.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019