public class MemoryMetricsSnapshot extends Object implements MemoryMetrics
| Constructor and Description |
|---|
MemoryMetricsSnapshot(MemoryMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAllocationRate()
Gets pages allocation rate of a memory region.
|
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 space that is still free and can be filled in.
|
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 |
getTotalAllocatedPages()
Gets a total number of allocated pages related to the memory policy.
|
public MemoryMetricsSnapshot(MemoryMetrics metrics)
metrics - Metrics instance to take a copy.public String getName()
getName in interface MemoryMetricspublic long getTotalAllocatedPages()
getTotalAllocatedPages in interface MemoryMetricspublic float getAllocationRate()
getAllocationRate in interface MemoryMetricspublic float getEvictionRate()
getEvictionRate in interface MemoryMetricspublic float getLargeEntriesPagesPercentage()
getLargeEntriesPagesPercentage in interface MemoryMetricspublic float getPagesFillFactor()
getPagesFillFactor in interface MemoryMetricspublic long getDirtyPages()
getDirtyPages in interface MemoryMetricspublic float getPagesReplaceRate()
getPagesReplaceRate in interface MemoryMetricspublic long getPhysicalMemoryPages()
MemoryMetrics.getTotalAllocatedPages().getPhysicalMemoryPages in interface MemoryMetrics
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017