Package org.infinispan.stats
Interface ClusterContainerStats
-
public interface ClusterContainerStats
Cluster wide container statistics- Since:
- 9.0
- Author:
- Ryan Emerson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMemoryAvailable()
long
getMemoryMax()
long
getMemoryTotal()
long
getMemoryUsed()
long
getStaleStatsThreshold()
void
reset()
Reset the collected statisticsvoid
setStaleStatsThreshold(long threshold)
-
-
-
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
-
-