Package org.infinispan.health.jmx
Interface HealthJMXExposer
-
public interface HealthJMXExposer
A Contract for exposing Health API over the JMX.- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OBJECT_NAME
JMX Object name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getCacheHealth()
Returns per Cache statuses.java.lang.String
getClusterHealth()
Returns cluster health status.java.lang.String
getClusterName()
Returns cluster name.long
getFreeMemoryKb()
Returns the amount of free memory (KB) in the host.int
getNumberOfCpus()
Returns the total amount of CPUs for the JVM.int
getNumberOfNodes()
Returns total nodes in the cluster.long
getTotalMemoryKb()
Returns the amount of total memory (KB) in the host.
-
-
-
Field Detail
-
OBJECT_NAME
static final java.lang.String OBJECT_NAME
JMX Object name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumberOfCpus
int getNumberOfCpus()
Returns the total amount of CPUs for the JVM.
-
getTotalMemoryKb
long getTotalMemoryKb()
Returns the amount of total memory (KB) in the host.
-
getFreeMemoryKb
long getFreeMemoryKb()
Returns the amount of free memory (KB) in the host.
-
getClusterHealth
java.lang.String getClusterHealth()
Returns cluster health status.
-
getClusterName
java.lang.String getClusterName()
Returns cluster name.
-
getNumberOfNodes
int getNumberOfNodes()
Returns total nodes in the cluster.
-
getCacheHealth
java.lang.String[] getCacheHealth()
Returns per Cache statuses.
-
-