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 MemoryMetrics
public long getTotalAllocatedPages()
getTotalAllocatedPages
in interface MemoryMetrics
public float getAllocationRate()
getAllocationRate
in interface MemoryMetrics
public float getEvictionRate()
getEvictionRate
in interface MemoryMetrics
public float getLargeEntriesPagesPercentage()
getLargeEntriesPagesPercentage
in interface MemoryMetrics
public float getPagesFillFactor()
getPagesFillFactor
in interface MemoryMetrics
public long getDirtyPages()
getDirtyPages
in interface MemoryMetrics
public float getPagesReplaceRate()
getPagesReplaceRate
in interface MemoryMetrics
public long getPhysicalMemoryPages()
MemoryMetrics.getTotalAllocatedPages()
.getPhysicalMemoryPages
in interface MemoryMetrics
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024