Package org.apache.ignite
Interface DataRegionMetricsProvider
-
public interface DataRegionMetricsProvider
This interface provides calculated metrics for data region.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
emptyDataPages()
Calculates empty data pages count for region.long
partiallyFilledPagesFreeSpace()
Calculates free space of partially filled pages for this data region.
-
-
-
Method Detail
-
partiallyFilledPagesFreeSpace
long partiallyFilledPagesFreeSpace()
Calculates free space of partially filled pages for this data region. It does not include empty data pages.- Returns:
- free space in bytes.
-
emptyDataPages
long emptyDataPages()
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).- Returns:
- empty data pages count.
-
-