GridMetricManager instead.@Deprecated public class DataRegionMetricsAdapter extends Object implements MemoryMetrics
DataRegionMetrics to legacy MemoryMetrics.| Modifier and Type | Method and Description |
|---|---|
static Collection<MemoryMetrics> |
collectionOf(Collection<DataRegionMetrics> dataRegionMetrics)
Deprecated.
Converts collection of
DataRegionMetrics into collection of legacy MemoryMetrics. |
float |
getAllocationRate()
Deprecated.
Gets pages allocation rate of a memory region.
|
long |
getDirtyPages()
Deprecated.
Gets the number of dirty pages (pages which contents is different from the current persistent storage state).
|
float |
getEvictionRate()
Deprecated.
Gets eviction rate of a given memory region.
|
float |
getLargeEntriesPagesPercentage()
Deprecated.
Gets percentage of pages that are fully occupied by large entries that go beyond page size.
|
String |
getName()
Deprecated.
A name of a memory region the metrics are collected for.
|
float |
getPagesFillFactor()
Deprecated.
Gets the percentage of space that is still free and can be filled in.
|
float |
getPagesReplaceRate()
Deprecated.
Gets rate (pages per second) at which pages get replaced with other pages from persistent storage.
|
long |
getPhysicalMemoryPages()
Deprecated.
Gets total number of pages currently loaded to the RAM.
|
long |
getTotalAllocatedPages()
Deprecated.
Gets a total number of allocated pages related to the memory policy.
|
static DataRegionMetricsAdapter |
valueOf(DataRegionMetrics delegate)
Deprecated.
|
public static Collection<MemoryMetrics> collectionOf(Collection<DataRegionMetrics> dataRegionMetrics)
DataRegionMetrics into collection of legacy MemoryMetrics.dataRegionMetrics - Data region metrics collection.public static DataRegionMetricsAdapter valueOf(DataRegionMetrics delegate)
delegate - DataRegionMetrics.DataRegionMetrics that implements MemoryMetrics.
Null value is not wrapped and returned as is.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
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025