Class JvmMetric.Rule

    • Constructor Detail

      • JvmMetric.Rule

        JvmMetric.Rule()
    • Method Detail

      • getSystemCent

         int getSystemCent()

        alarm threshold, system Cpu Load with percentage to the entire system with all cores, range `[0, 100]`

      • setSystemCent

         void setSystemCent(int systemCent)

        alarm threshold, system Cpu Load with percentage to the entire system with all cores, range `[0, 100]`

      • getSystemLoad

         int getSystemLoad()

        System Cpu Load without percentage, range `[0, 100*cores]`

      • setSystemLoad

         void setSystemLoad(int systemLoad)

        System Cpu Load without percentage, range `[0, 100*cores]`

      • getProcessCent

         int getProcessCent()

        process system Cpu Load with percentage to the entire system with all cores, range `[0, 100]`

      • setProcessCent

         void setProcessCent(int processCent)

        process system Cpu Load with percentage to the entire system with all cores, range `[0, 100]`

      • getProcessLoad

         int getProcessLoad()

        process Cpu Load without percentage, range `[0, 100*cores]`, default=80x4

      • setProcessLoad

         void setProcessLoad(int processLoad)

        process Cpu Load without percentage, range `[0, 100*cores]`, default=80x4

      • getMemoryLoad

         int getMemoryLoad()

        process Mem Load, range `[0,100]`

      • setMemoryLoad

         void setMemoryLoad(int memoryLoad)

        process Mem Load, range `[0,100]`

      • getThreadCount

         int getThreadCount()

        total threads in jvm. formula: threads = `Available Cores` / (1 - `Blocking Coefficient`), `Blocking Coefficient` = Blocking time / (blocking time + calculation time)

      • setThreadCount

         void setThreadCount(int threadCount)

        total threads in jvm. formula: threads = `Available Cores` / (1 - `Blocking Coefficient`), `Blocking Coefficient` = Blocking time / (blocking time + calculation time)

      • getThreadLoad

         int getThreadLoad()

        total jvm threads divided by total cores

      • setThreadLoad

         void setThreadLoad(int threadLoad)

        total jvm threads divided by total cores