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
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns per Cache statuses.Returns cluster health status.Returns cluster name.long
Returns the amount of free memory (KB) in the host.int
Returns the total amount of CPUs for the JVM.int
Returns total nodes in the cluster.long
Returns the amount of total memory (KB) in the host.
-
Field Details
-
OBJECT_NAME
JMX Object name.- See Also:
-
-
Method Details
-
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
String getClusterHealth()Returns cluster health status. -
getClusterName
String getClusterName()Returns cluster name. -
getNumberOfNodes
int getNumberOfNodes()Returns total nodes in the cluster. -
getCacheHealth
String[] getCacheHealth()Returns per Cache statuses.
-