DataRegionMetricsMXBean
.@MXBeanDescription(value="MBean that provides access to MemoryMetrics of a local Apache Ignite node.") @Deprecated public interface MemoryMetricsMXBean extends MemoryMetrics
MemoryMetrics
.Modifier and Type | Method and Description |
---|---|
void |
disableMetrics()
Deprecated.
Disables memory metrics collection on an Apache Ignite node.
|
void |
enableMetrics()
Deprecated.
Enables memory metrics collection on an Apache Ignite node.
|
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.
|
int |
getInitialSize()
Deprecated.
Gets initial memory region size defined by its
MemoryPolicyConfiguration . |
float |
getLargeEntriesPagesPercentage()
Deprecated.
Gets percentage of pages that are fully occupied by large entries that go beyond page size.
|
int |
getMaxSize()
Deprecated.
Maximum memory region size defined by its
MemoryPolicyConfiguration . |
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.
|
String |
getSwapFilePath()
Deprecated.
A path to the memory-mapped files the memory region defined by
MemoryPolicyConfiguration will be
mapped to. |
long |
getTotalAllocatedPages()
Deprecated.
Gets a total number of allocated pages related to the memory policy.
|
void |
rateTimeInterval(long rateTimeInterval)
Deprecated.
Sets time interval for
getAllocationRate() and getEvictionRate() monitoring purposes. |
void |
subIntervals(int subInts)
Deprecated.
Sets a number of sub-intervals the whole
rateTimeInterval(long) will be split into to calculate
getAllocationRate() and getEvictionRate() rates (5 by default). |
@MXBeanDescription(value="A name of a memory region the metrics are collected for.") String getName()
getName
in interface MemoryMetrics
@MXBeanDescription(value="Initial memory region size defined by its memory policy.") int getInitialSize()
MemoryPolicyConfiguration
.@MXBeanDescription(value="Maximum memory region size defined by its memory policy.") int getMaxSize()
MemoryPolicyConfiguration
.@MXBeanDescription(value="Path to the memory-mapped files.") String getSwapFilePath()
MemoryPolicyConfiguration
will be
mapped to.@MXBeanDescription(value="Total number of allocated pages.") long getTotalAllocatedPages()
getTotalAllocatedPages
in interface MemoryMetrics
@MXBeanDescription(value="Allocation rate (pages per second) averaged across rateTimeInternal.") float getAllocationRate()
getAllocationRate
in interface MemoryMetrics
@MXBeanDescription(value="Eviction rate (pages per second).") float getEvictionRate()
getEvictionRate
in interface MemoryMetrics
@MXBeanDescription(value="Percentage of pages that are fully occupied by large entries that go beyond page size.") float getLargeEntriesPagesPercentage()
getLargeEntriesPagesPercentage
in interface MemoryMetrics
@MXBeanDescription(value="Percentage of space that is still free and can be filled in.") float getPagesFillFactor()
getPagesFillFactor
in interface MemoryMetrics
@MXBeanDescription(value="Number of pages in memory not yet synchronized with persistent storage.") long getDirtyPages()
getDirtyPages
in interface MemoryMetrics
@MXBeanDescription(value="Rate at which pages in memory are replaced with pages from persistent storage (pages per second).") float getPagesReplaceRate()
getPagesReplaceRate
in interface MemoryMetrics
@MXBeanDescription(value="Number of pages residing in physical RAM.") long getPhysicalMemoryPages()
MemoryMetrics.getTotalAllocatedPages()
.getPhysicalMemoryPages
in interface MemoryMetrics
@MXBeanDescription(value="Enables memory metrics collection on an Apache Ignite node.") void enableMetrics()
@MXBeanDescription(value="Disables memory metrics collection on an Apache Ignite node.") void disableMetrics()
@MXBeanDescription(value="Sets time interval for pages allocation and eviction monitoring purposes.") @MXBeanParametersNames(value="rateTimeInterval") @MXBeanParametersDescriptions(value="Time interval (in milliseconds) to set.") void rateTimeInterval(long rateTimeInterval)
getAllocationRate()
and getEvictionRate()
monitoring purposes.
For instance, after setting the interval to 60 seconds, subsequent calls to getAllocationRate()
will return average allocation rate (pages per second) for the last minute.
rateTimeInterval
- Time interval (in milliseconds) used for allocation and eviction rates calculations.@MXBeanDescription(value="Sets a number of sub-intervals to calculate allocation and eviction rates metrics.") @MXBeanParametersNames(value="subInts") @MXBeanParametersDescriptions(value="Number of subintervals to set.") void subIntervals(int subInts)
rateTimeInterval(long)
will be split into to calculate
getAllocationRate()
and getEvictionRate()
rates (5 by default).
Setting it to a bigger value will result in more precise calculation and smaller drops of
getAllocationRate()
metric when next sub-interval has to be recycled but introduces bigger
calculation overhead.
subInts
- A number of sub-intervals.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019