public class MonitorProvider
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MonitorProvider.Jsonable
The Class Jsonable.
|
static class |
MonitorProvider.PerformUsage
The Class PerformUsage.
|
static class |
MonitorProvider.ThreadData
The Class ThreadData.
|
static class |
MonitorProvider.ThreadUsage
The Class ThreadUsage.
|
Modifier and Type | Field and Description |
---|---|
MonitorProvider.PerformUsage |
currentJvmPerformUsage
The current jvm perform usage.
|
private static MonitorProvider |
instance
The instance.
|
private static org.slf4j.Logger |
logger
The logger.
|
static int |
THRESHOLD_PERCENT
The threshold percent.
|
Modifier | Constructor and Description |
---|---|
private |
MonitorProvider()
Instantiates a new monitor provider.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHealthMemory()
Gets the health memory.
|
static MonitorProvider |
getInstance()
Gets the single instance of MonitorProvider.
|
MonitorProvider.PerformUsage |
getJVMMemoryUsage()
Gets the JVM memory usage.
|
int |
getLiveThreadCount()
Gets the live thread count.
|
java.lang.management.ThreadInfo[] |
getThreadDump()
Gets the thread dump.
|
MonitorProvider.ThreadUsage |
getThreadUsage()
Gets the thread usage.
|
private static org.slf4j.Logger logger
public static int THRESHOLD_PERCENT
private static MonitorProvider instance
public MonitorProvider.PerformUsage currentJvmPerformUsage
public static MonitorProvider getInstance()
public MonitorProvider.PerformUsage getJVMMemoryUsage()
public java.lang.management.ThreadInfo[] getThreadDump()
public int getLiveThreadCount()
public MonitorProvider.ThreadUsage getThreadUsage()
public java.lang.String getHealthMemory()