You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|DirtyPages | long| Number of pages in memory not yet synchronized with persistent storage.
395
395
|EmptyDataPages| long| Calculates empty data pages count for region. It counts only totally free pages that can be reused (e. g. pages that are contained in reuse bucket of free list).
396
396
|EvictionRate| hitrate| Eviction rate (pages per second).
397
+
|EvictionsStarted | boolean | True if page eviction was triggered due to data region memory pressure.
397
398
|LargeEntriesPagesCount| long| Count of pages that fully ocupied by large entries that go beyond page size
398
399
|OffHeapSize| long| Offheap size in bytes.
399
400
|OffheapUsedSize| long| Offheap used size in bytes.
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataRegionMetricsImpl.java
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataRegionMetricsSnapshot.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,9 @@ public class DataRegionMetricsSnapshot implements DataRegionMetrics {
92
92
/** */
93
93
privatefinallongoffHeapUsedSize;
94
94
95
+
/** */
96
+
privatefinalbooleanevictionsStarted;
97
+
95
98
/**
96
99
* @param metrics Metrics instance to take a copy.
97
100
*/
@@ -119,6 +122,7 @@ public DataRegionMetricsSnapshot(DataRegionMetrics metrics) {
119
122
replacedPage = metrics.getPagesReplaced();
120
123
offHeapSize = metrics.getOffHeapSize();
121
124
offHeapUsedSize = metrics.getOffheapUsedSize();
125
+
evictionsStarted = metrics.isEvictionsStarted();
122
126
}
123
127
124
128
/** {@inheritDoc} */
@@ -235,4 +239,9 @@ public DataRegionMetricsSnapshot(DataRegionMetrics metrics) {
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/IgniteCacheDatabaseSharedManager.java
Copy file name to clipboardExpand all lines: modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteDataStorageMetricsSelfTest.java
0 commit comments