Package org.infinispan.stats
Interface ClusterContainerStats
public interface ClusterContainerStats
Cluster wide container statistics.
- Since:
- 9.0
- Author:
- Ryan Emerson
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
void
reset()
Reset the collected statisticsvoid
setStaleStatsThreshold
(long threshold)
-
Field Details
-
OBJECT_NAME
- See Also:
-
-
Method Details
-
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
-