Class PerformanceMonitor


  • public class PerformanceMonitor
    extends java.lang.Object
    • Constructor Detail

      • PerformanceMonitor

        public PerformanceMonitor​(GatewayContext context)
    • Method Detail

      • getCpuUsage

        public double getCpuUsage()
      • getThreadCpuUsage

        public double getThreadCpuUsage​(long threadId)
      • isThreadInfoAvailable

        public boolean isThreadInfoAvailable()
      • getWaitingThreadsCount

        public int getWaitingThreadsCount()
      • getTimedWaitingThreadsCount

        public int getTimedWaitingThreadsCount()
      • getRunningThreadsCount

        public int getRunningThreadsCount()
      • getBlockedThreadsCount

        public int getBlockedThreadsCount()
      • getCurrentMemoryUsage

        public long getCurrentMemoryUsage()
      • getNonHeapMemoryUsage

        public long getNonHeapMemoryUsage()
      • getMaxMemory

        public long getMaxMemory()