Package com.biglybt.core.util
Class AEJavaManagement
java.lang.Object
com.biglybt.core.util.AEJavaManagement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static AEJavaManagement.MemoryStuff
private static AEJavaManagement.ThreadStuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
decodeJVMLong
(String val) static void
static void
dumpThreads
(IndentWriter writer) static String
encodeJVMLong
(long val) static long
getJVMLongOption
(String[] options, String prefix) static long
static long
static String
getThreadInfo
(Thread thread) static void
static 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
- Throws:
Exception
-
encodeJVMLong
-