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 |
getCheckpointBufferPages()
Gets checkpoint buffer size in pages.
|
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.
|
float |
getPagesFillFactor()
Gets the percentage of the used space.
|
int |
getPageSize()
Gets memory page size.
|
float |
getPagesReplaceAge()
Gets average age (in milliseconds) for the pages being replaced from the disk storage.
|
float |
getPagesReplaceRate()
Gets rate (pages per second) at which pages get replaced with other pages from persistent storage.
|
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.
|
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 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 getCheckpointBufferPages()
getCheckpointBufferPages in interface DataRegionMetricspublic long getCheckpointBufferSize()
getCheckpointBufferSize in interface DataRegionMetricspublic int getPageSize()
getPageSize in interface DataRegionMetrics
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018