org.gudy.azureus2.core3.util
Class AEJavaManagement

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AEJavaManagement

public class AEJavaManagement
extends Object


Nested Class Summary
static interface AEJavaManagement.MemoryStuff
           
static interface AEJavaManagement.ThreadStuff
           
 
Constructor Summary
AEJavaManagement()
           
 
Method Summary
static long decodeJVMLong(String val)
           
static void dumpThreads()
           
static String encodeJVMLong(long val)
           
static long getJVMLongOption(String[] options, String prefix)
           
static long getMaxHeapMB()
           
static long getThreadCPUTime()
           
static void initialise()
           
static String[] setJVMLongOption(String[] options, String prefix, long val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AEJavaManagement

public AEJavaManagement()
Method Detail

initialise

public static void initialise()

getThreadCPUTime

public static long getThreadCPUTime()

dumpThreads

public static void dumpThreads()

getMaxHeapMB

public static long getMaxHeapMB()

getJVMLongOption

public static long getJVMLongOption(String[] options,
                                    String prefix)

setJVMLongOption

public static String[] setJVMLongOption(String[] options,
                                        String prefix,
                                        long val)

decodeJVMLong

public static long decodeJVMLong(String val)
                          throws Exception
Throws:
Exception

encodeJVMLong

public static String encodeJVMLong(long val)