|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the JVM. A JVM consists of a number of submodules.
Method Summary | |
ClassLibrary |
getClassLibrary()
Returns the ClassLibrary. |
CompilationSystem |
getCompilationSystem()
Returns the compiler (if available) that is used to generate machine code for methods. |
java.lang.String |
getDescription()
Returns a description of the JVM. |
java.lang.String |
getJavaCommandLine()
Returns the java launcher command line |
java.lang.String |
getJVMInitArgs()
Returns the initialization arguments given to the JVM at startup |
double |
getJVMLoad()
Returns the fraction of the load on the machine caused by the JVM. 0.0 means no load is created by the virtual machine, 1.0 means all load is created by the JVM. |
Machine |
getMachine()
Returns the underlying hardware. |
MemorySystem |
getMemorySystem()
Returns the MemorySystem. |
java.lang.String |
getName()
Returns the JVM name string. |
OperatingSystem |
getOperatingSystem()
Returns the OperatingSystem on which the JVM is run. |
java.util.Collection |
getProcessAffinity()
Returns a collection with the CPUs that the JVM process currently is running on. |
ProfilingSystem |
getProfilingSystem()
Returns the profiler (if available) used to instrument code being executed. |
long |
getStartTime()
Returns the time that the JVM process was started. |
ThreadSystem |
getThreadSystem()
Returns the ThreadSystem. |
java.lang.String |
getVendor()
Returns the name of the JVM vendor. |
java.lang.String |
getVersion()
Returns the JVM version string. |
void |
suggestProcessAffinity(java.util.Collection cpuCollection)
Suggests the process affinity. |
Method Detail |
public ThreadSystem getThreadSystem() throws NotAvailableException
NotAvailableException
- if this functionality isn't available on
this JVM.ThreadSystem
public MemorySystem getMemorySystem() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.MemorySystem
public ClassLibrary getClassLibrary() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.ClassLibrary
public OperatingSystem getOperatingSystem() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.OperatingSystem
public CompilationSystem getCompilationSystem() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public ProfilingSystem getProfilingSystem() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public Machine getMachine() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getVendor() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getVersion() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getName() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public void suggestProcessAffinity(java.util.Collection cpuCollection) throws NotAvailableException
cpuCollection
- a collection with the CPUs to use. May not be null!
NotAvailableException
- if this functionality isn't available in
this JVM. Linux versions of JRockit throws this exception.CPU
public java.util.Collection getProcessAffinity() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM. Linux versions of JRockit throws this exception.CPU
public long getStartTime() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.System.currentTimeMillis()
public double getJVMLoad() throws NotAvailableException
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getJVMInitArgs()
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getJavaCommandLine()
NotAvailableException
- if this functionality isn't available in
this JVM.public java.lang.String getDescription()
getDescription
in interface Describable
Describable.getDescription()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |