DataRegionMetrics
instead.@Deprecated public interface MemoryMetrics
MemoryConfiguration
.
Since there are can be several memory regions configured with MemoryPolicyConfiguration
on an individual
Apache Ignite node, the metrics for every region will be collected and obtained separately.
There are two ways to get the metrics of an Apache Ignite node.
Ignite.dataRegionMetrics()
()} method. Note that
the method returns memory metrics snapshots rather than just in time memory state.
MemoryMetrics
of a local Apache Ignite node are visible through JMX interface. Refer to
DataRegionMetricsMXBean
for more details.
Memory metrics collection is not a free operation and might affect performance of an application. This is the reason
why the metrics are turned off by default. To enable the collection you can use both
MemoryPolicyConfiguration.setMetricsEnabled(boolean)
configuration property or
DataRegionMetricsMXBean.enableMetrics()
method of a respective JMX bean.
Modifier and Type | Method and Description |
---|---|
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.
|
String getName()
long getTotalAllocatedPages()
float getAllocationRate()
float getEvictionRate()
float getLargeEntriesPagesPercentage()
float getPagesFillFactor()
long getDirtyPages()
float getPagesReplaceRate()
long getPhysicalMemoryPages()
getTotalAllocatedPages()
.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024