Class PerformanceMonitor
java.lang.Object
com.inductiveautomation.ignition.gateway.util.PerformanceMonitor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
double
long
long
long
int
double
getThreadCpuUsage
(long threadId) int
int
boolean
-
Field Details
-
CPU_GAUGE
- See Also:
-
HEAP_MEMORY_GAUGE
- See Also:
-
NON_HEAP_MEMORY_GAUGE
- See Also:
-
MAX_MEMORY_GAUGE
- See Also:
-
THREADS_GAUGE
- See Also:
-
WAITING_THREADS_GAUGE
- See Also:
-
TIMED_WAITING_THREADS_GAUGE
- See Also:
-
RUNNING_THREADS_GAUGE
- See Also:
-
BLOCKED_THREADS_GAUGE
- See Also:
-
-
Constructor Details
-
PerformanceMonitor
-
-
Method Details
-
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()
-