Interface HealthJMXExposer


  • public interface HealthJMXExposer
    A Contract for exposing Health API over the JMX.
    Since:
    9.0
    Author:
    Sebastian Ɓaskawiec
    • 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.