Class AEJavaManagement
java.lang.Object
com.biglybt.core.util.AEJavaManagement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static AEJavaManagement.MemoryStuffprivate static AEJavaManagement.ThreadStuff -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longdecodeJVMLong(String val) static voidstatic voiddumpThreads(IndentWriter writer) static StringencodeJVMLong(long val) static longgetJVMLongOption(String[] options, String prefix) static longstatic longstatic StringgetThreadInfo(Thread thread) static voidstatic String[]removeJVMOption(String[] options, String prefix) static String[]setJVMLongOption(String[] options, String prefix, long val)
-
Field Details
-
thread_stuff
-
memory_stuff
-
-
Constructor Details
-
AEJavaManagement
public AEJavaManagement()
-
-
Method Details
-
initialise
public static void initialise() -
getThreadCPUTime
public static long getThreadCPUTime() -
getMemoryHistory
-
dumpThreads
public static void dumpThreads() -
dumpThreads
-
getThreadInfo
-
getMaxHeapMB
public static long getMaxHeapMB() -
getJVMLongOption
-
setJVMLongOption
-
removeJVMOption
-
decodeJVMLong
-
encodeJVMLong
-