Package org.infinispan.stats
Interface ClusterContainerStats
-
public interface ClusterContainerStatsCluster wide container statistics.- Since:
- 9.0
- Author:
- Ryan Emerson
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMemoryAvailable()longgetMemoryMax()longgetMemoryTotal()longgetMemoryUsed()longgetStaleStatsThreshold()voidreset()Reset the collected statisticsvoidsetStaleStatsThreshold(long threshold)
-
-
-
Field Detail
-
OBJECT_NAME
static final String OBJECT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMemoryAvailable
long getMemoryAvailable()
- Returns:
- the maximum amount of free memory in bytes across the cluster JVMs.
-
getMemoryMax
long getMemoryMax()
- Returns:
- the maximum amount of memory that JVMs across the cluster will attempt to utilise in bytes.
-
getMemoryTotal
long getMemoryTotal()
- Returns:
- the total amount of memory in the JVMs across the cluster in bytes.
-
getMemoryUsed
long getMemoryUsed()
- Returns:
- the amount of memory used by JVMs across the cluster in bytes.
-
getStaleStatsThreshold
long getStaleStatsThreshold()
- Returns:
- The time in milliseconds, to wait between requests before re-retrieving cluster wide stats
-
setStaleStatsThreshold
void setStaleStatsThreshold(long threshold)
- Parameters:
threshold- the time in milliseconds, to wait between requests before re-retrieving cluster wide stats
-
reset
void reset()
Reset the collected statistics
-
-