public class Management extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
Management.UnimplementedBean |
Modifier and Type | Field and Description |
---|---|
private static com.sun.management.ThreadMXBean |
threadMXBean |
private static long |
threadMXBeanOverhead
The amount of memory allocated by
ThreadMXBean.getThreadAllocatedBytes(long) itself. |
Constructor and Description |
---|
Management() |
Modifier and Type | Method and Description |
---|---|
static long |
getCurrentThreadAllocatedBytes() |
static ThreadMXBean |
getThreadMXBean() |
private static com.sun.management.ThreadMXBean |
initThreadMXBean() |
private static final com.sun.management.ThreadMXBean threadMXBean
private static final long threadMXBeanOverhead
ThreadMXBean.getThreadAllocatedBytes(long)
itself.public Management()
public static long getCurrentThreadAllocatedBytes()
private static com.sun.management.ThreadMXBean initThreadMXBean()
public static ThreadMXBean getThreadMXBean()