Package org.infinispan.health.jmx
Interface HealthJMXExposer
-
public interface HealthJMXExposerA Contract for exposing Health API over the JMX.- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_NAMEJMX Object name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getCacheHealth()Returns per Cache statuses.StringgetClusterHealth()Returns cluster health status.StringgetClusterName()Returns cluster name.longgetFreeMemoryKb()Returns the amount of free memory (KB) in the host.intgetNumberOfCpus()Returns the total amount of CPUs for the JVM.intgetNumberOfNodes()Returns total nodes in the cluster.longgetTotalMemoryKb()Returns the amount of total memory (KB) in the host.
-
-
-
Field Detail
-
OBJECT_NAME
static final 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
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.
-
-