Package org.apache.ignite
Class DataRegionMetricsAdapter
- java.lang.Object
- 
- org.apache.ignite.DataRegionMetricsAdapter
 
- 
- All Implemented Interfaces:
- MemoryMetrics
 
 @Deprecated public class DataRegionMetricsAdapter extends Object implements MemoryMetrics Deprecated.Check theReadOnlyMetricRegistrywith "name=io.dataregion.{data_region_name}" instead.Converter class fromDataRegionMetricsto legacyMemoryMetrics.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Collection<MemoryMetrics>collectionOf(Collection<DataRegionMetrics> dataRegionMetrics)Deprecated.Converts collection ofDataRegionMetricsinto collection of legacyMemoryMetrics.floatgetAllocationRate()Deprecated.Gets pages allocation rate of a memory region.longgetDirtyPages()Deprecated.Gets the number of dirty pages (pages which contents is different from the current persistent storage state).floatgetEvictionRate()Deprecated.Gets eviction rate of a given memory region.floatgetLargeEntriesPagesPercentage()Deprecated.Gets percentage of pages that are fully occupied by large entries that go beyond page size.StringgetName()Deprecated.A name of a memory region the metrics are collected for.floatgetPagesFillFactor()Deprecated.Gets the percentage of space that is still free and can be filled in.floatgetPagesReplaceRate()Deprecated.Gets rate (pages per second) at which pages get replaced with other pages from persistent storage.longgetPhysicalMemoryPages()Deprecated.Gets total number of pages currently loaded to the RAM.longgetTotalAllocatedPages()Deprecated.Gets a total number of allocated pages related to the memory policy.static DataRegionMetricsAdaptervalueOf(DataRegionMetrics delegate)Deprecated.
 
- 
- 
- 
Method Detail- 
collectionOfpublic static Collection<MemoryMetrics> collectionOf(Collection<DataRegionMetrics> dataRegionMetrics) Deprecated.Converts collection ofDataRegionMetricsinto collection of legacyMemoryMetrics.- Parameters:
- dataRegionMetrics- Data region metrics collection.
- Returns:
- Collection of legacy MemoryMetrics.
 
 - 
valueOfpublic static DataRegionMetricsAdapter valueOf(DataRegionMetrics delegate) Deprecated.- Parameters:
- delegate- DataRegionMetrics.
- Returns:
- Wrapped DataRegionMetricsthat implementsMemoryMetrics. Null value is not wrapped and returned as is.
 
 - 
getNamepublic String getName() Deprecated.A name of a memory region the metrics are collected for.- Specified by:
- getNamein interface- MemoryMetrics
- Returns:
- Name of the memory region.
 
 - 
getTotalAllocatedPagespublic long getTotalAllocatedPages() Deprecated.Gets a total number of allocated pages related to the memory policy. When persistence is disabled, this metric shows the total number of pages in memory. When persistence is enabled, this metric shows the total number of pages in memory and on disk.- Specified by:
- getTotalAllocatedPagesin interface- MemoryMetrics
- Returns:
- Total number of allocated pages.
 
 - 
getAllocationRatepublic float getAllocationRate() Deprecated.Gets pages allocation rate of a memory region.- Specified by:
- getAllocationRatein interface- MemoryMetrics
- Returns:
- Number of allocated pages per second.
 
 - 
getEvictionRatepublic float getEvictionRate() Deprecated.Gets eviction rate of a given memory region.- Specified by:
- getEvictionRatein interface- MemoryMetrics
- Returns:
- Number of evicted pages per second.
 
 - 
getLargeEntriesPagesPercentagepublic float getLargeEntriesPagesPercentage() Deprecated.Gets percentage of pages that are fully occupied by large entries that go beyond page size. The large entities are split into fragments in a way so that each fragment can fit into a single page.- Specified by:
- getLargeEntriesPagesPercentagein interface- MemoryMetrics
- Returns:
- Percentage of pages fully occupied by large entities.
 
 - 
getPagesFillFactorpublic float getPagesFillFactor() Deprecated.Gets the percentage of space that is still free and can be filled in.- Specified by:
- getPagesFillFactorin interface- MemoryMetrics
- Returns:
- The percentage of space that is still free and can be filled in.
 
 - 
getDirtyPagespublic long getDirtyPages() Deprecated.Gets the number of dirty pages (pages which contents is different from the current persistent storage state). This metric is enabled only for Ignite nodes with enabled persistence.- Specified by:
- getDirtyPagesin interface- MemoryMetrics
- Returns:
- Current number of dirty pages.
 
 - 
getPagesReplaceRatepublic float getPagesReplaceRate() Deprecated.Gets rate (pages per second) at which pages get replaced with other pages from persistent storage. The rate effectively represents the rate at which pages get 'evicted' in favor of newly needed pages. This metric is enabled only for Ignite nodes with enabled persistence.- Specified by:
- getPagesReplaceRatein interface- MemoryMetrics
- Returns:
- Pages per second replace rate.
 
 - 
getPhysicalMemoryPagespublic long getPhysicalMemoryPages() Deprecated.Gets total number of pages currently loaded to the RAM. When persistence is disabled, this metric is equal toMemoryMetrics.getTotalAllocatedPages().- Specified by:
- getPhysicalMemoryPagesin interface- MemoryMetrics
- Returns:
- Total number of pages loaded to RAM.
 
 
- 
 
-