public class DataRegionMetricsSnapshot extends Object implements DataRegionMetrics
| Constructor and Description |
|---|
DataRegionMetricsSnapshot(DataRegionMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAllocationRate()
Gets pages allocation rate of a memory region.
|
long |
getCheckpointBufferSize()
Gets checkpoint buffer size in bytes.
|
long |
getDirtyPages()
Gets the number of dirty pages (pages which contents is different from the current persistent storage state).
|
float |
getEvictionRate()
Gets eviction rate of a given memory region.
|
float |
getLargeEntriesPagesPercentage()
Gets percentage of pages that are fully occupied by large entries that go beyond page size.
|
String |
getName()
A name of a memory region the metrics are collected for.
|
long |
getOffHeapSize()
Total offheap size in bytes.
|
long |
getOffheapUsedSize()
Total used offheap size in bytes.
|
float |
getPagesFillFactor()
Gets the percentage of the used space.
|
int |
getPageSize()
Gets memory page size.
|
long |
getPagesRead()
The number of read pages from last restart.
|
float |
getPagesReplaceAge()
Gets average age (in milliseconds) for the pages being replaced from the disk storage.
|
long |
getPagesReplaced()
The number of replaced pages from last restart .
|
float |
getPagesReplaceRate()
Gets rate (pages per second) at which pages get replaced with other pages from persistent storage.
|
long |
getPagesWritten()
The number of written pages from last restart.
|
long |
getPhysicalMemoryPages()
Gets total number of pages currently loaded to the RAM.
|
long |
getPhysicalMemorySize()
Gets total size of pages loaded to the RAM.
|
long |
getTotalAllocatedPages()
Gets a total number of allocated pages related to the data region.
|
long |
getTotalAllocatedSize()
Gets a total size of memory allocated in the data region.
|
long |
getTotalUsedPages()
Gets a total number of pages used for storing the data.
|
long |
getUsedCheckpointBufferPages()
Gets used checkpoint buffer size in pages.
|
long |
getUsedCheckpointBufferSize()
Gets used checkpoint buffer size in bytes.
|
public DataRegionMetricsSnapshot(DataRegionMetrics metrics)
metrics - Metrics instance to take a copy.public String getName()
getName in interface DataRegionMetricspublic long getTotalAllocatedPages()
getTotalAllocatedPages in interface DataRegionMetricspublic long getTotalUsedPages()
E. g. data region contains 1000 allocated pages, and 200 pages are used to store some data, this metric shows 200 used pages. Then the data was partially deleted and 50 pages were totally freed, hence this metric should show 150 used pages.
getTotalUsedPages in interface DataRegionMetricspublic long getTotalAllocatedSize()
getTotalAllocatedSize in interface DataRegionMetricspublic float getAllocationRate()
getAllocationRate in interface DataRegionMetricspublic float getEvictionRate()
getEvictionRate in interface DataRegionMetricspublic float getLargeEntriesPagesPercentage()
getLargeEntriesPagesPercentage in interface DataRegionMetricspublic float getPagesFillFactor()
getPagesFillFactor in interface DataRegionMetricspublic long getDirtyPages()
getDirtyPages in interface DataRegionMetricspublic float getPagesReplaceRate()
getPagesReplaceRate in interface DataRegionMetricspublic float getPagesReplaceAge()
getPagesReplaceAge in interface DataRegionMetricspublic long getPhysicalMemoryPages()
DataRegionMetrics.getTotalAllocatedPages().getPhysicalMemoryPages in interface DataRegionMetricspublic long getPhysicalMemorySize()
DataRegionMetrics.getTotalAllocatedSize().getPhysicalMemorySize in interface DataRegionMetricspublic long getUsedCheckpointBufferPages()
getUsedCheckpointBufferPages in interface DataRegionMetricspublic long getUsedCheckpointBufferSize()
getUsedCheckpointBufferSize in interface DataRegionMetricspublic long getCheckpointBufferSize()
getCheckpointBufferSize in interface DataRegionMetricspublic int getPageSize()
getPageSize in interface DataRegionMetricspublic long getPagesRead()
getPagesRead in interface DataRegionMetricspublic long getPagesWritten()
getPagesWritten in interface DataRegionMetricspublic long getPagesReplaced()
getPagesReplaced in interface DataRegionMetricspublic long getOffHeapSize()
getOffHeapSize in interface DataRegionMetricspublic long getOffheapUsedSize()
getOffheapUsedSize in interface DataRegionMetrics
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020