Enum Metric

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Metric>

    public enum Metric
    extends java.lang.Enum<Metric>
    • Enum Constant Detail

      • ENTRY

        public static final Metric ENTRY
      • COST_TASK

        public static final Metric COST_TASK
      • QUEUE

        public static final Metric QUEUE
      • FILE_SIZE

        public static final Metric FILE_SIZE
      • FILE_COUNT

        public static final Metric FILE_COUNT
      • MEM

        public static final Metric MEM
      • CACHE

        public static final Metric CACHE
      • CACHE_HIT

        public static final Metric CACHE_HIT
      • ERROR_LOG

        public static final Metric ERROR_LOG
      • QUANTITY

        public static final Metric QUANTITY
      • DATA_WRITTEN

        public static final Metric DATA_WRITTEN
      • DATA_READ

        public static final Metric DATA_READ
      • COMPACTION_TASK_COUNT

        public static final Metric COMPACTION_TASK_COUNT
      • CLUSTER_NODE_STATUS

        public static final Metric CLUSTER_NODE_STATUS
      • CLUSTER_NODE_LEADER_COUNT

        public static final Metric CLUSTER_NODE_LEADER_COUNT
      • CLUSTER_ELECT

        public static final Metric CLUSTER_ELECT
      • CLUSTER_UNCOMMITTED_LOG

        public static final Metric CLUSTER_UNCOMMITTED_LOG
      • PROCESS_CPU_LOAD

        public static final Metric PROCESS_CPU_LOAD
      • PROCESS_CPU_TIME

        public static final Metric PROCESS_CPU_TIME
      • PROCESS_MAX_MEM

        public static final Metric PROCESS_MAX_MEM
      • PROCESS_USED_MEM

        public static final Metric PROCESS_USED_MEM
      • PROCESS_TOTAL_MEM

        public static final Metric PROCESS_TOTAL_MEM
      • PROCESS_FREE_MEM

        public static final Metric PROCESS_FREE_MEM
      • PROCESS_THREADS_COUNT

        public static final Metric PROCESS_THREADS_COUNT
      • PROCESS_MEM_RATIO

        public static final Metric PROCESS_MEM_RATIO
      • PROCESS_STATUS

        public static final Metric PROCESS_STATUS
      • SYS_CPU_LOAD

        public static final Metric SYS_CPU_LOAD
      • SYS_CPU_CORES

        public static final Metric SYS_CPU_CORES
      • SYS_TOTAL_PHYSICAL_MEMORY_SIZE

        public static final Metric SYS_TOTAL_PHYSICAL_MEMORY_SIZE
      • SYS_FREE_PHYSICAL_MEMORY_SIZE

        public static final Metric SYS_FREE_PHYSICAL_MEMORY_SIZE
      • SYS_TOTAL_SWAP_SPACE_SIZE

        public static final Metric SYS_TOTAL_SWAP_SPACE_SIZE
      • SYS_FREE_SWAP_SPACE_SIZE

        public static final Metric SYS_FREE_SWAP_SPACE_SIZE
      • SYS_COMMITTED_VM_SIZE

        public static final Metric SYS_COMMITTED_VM_SIZE
      • SYS_DISK_TOTAL_SPACE

        public static final Metric SYS_DISK_TOTAL_SPACE
      • SYS_DISK_FREE_SPACE

        public static final Metric SYS_DISK_FREE_SPACE
      • CONFIG_NODE

        public static final Metric CONFIG_NODE
      • DATA_NODE

        public static final Metric DATA_NODE
      • STORAGE_GROUP

        public static final Metric STORAGE_GROUP
      • REGION

        public static final Metric REGION
      • SLOT

        public static final Metric SLOT
      • THRIFT_CONNECTIONS

        public static final Metric THRIFT_CONNECTIONS
      • THRIFT_ACTIVE_THREADS

        public static final Metric THRIFT_ACTIVE_THREADS
    • Method Detail

      • values

        public static Metric[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Metric c : Metric.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Metric valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Metric>