JVM MBean

Management interface to provide current settings for the running Java Virtual Machine (JVM).


 

Attribute Summary

java.lang.String heapSize
          
java.lang.String freeMemory
          
java.lang.String javaVendor
          
java.lang.String javaVersion
          
java.lang.String node
          
com.ibm.websphere.management.statistics.Stats stats
          

 

Operation Summary

void dumpThreads()
           Dump the threads for this JVM
java.lang.String getProperty(java.lang.String key)
           Gets the system property indicated by the specified key, the same as calling System.
java.lang.String getIPAddress(java.lang.String hostname)
           Returns the IP address of the given host, or null if the host is unknown.
long getCurrentTimeInMillis()
           Gets the current system time in milliseconds, the same as calling System.

 

Attribute Detail

heapSize

public java.lang.String heapSize

freeMemory

public java.lang.String freeMemory

javaVendor

public java.lang.String javaVendor

javaVersion

public java.lang.String javaVersion

node

public java.lang.String node

stats

public com.ibm.websphere.management.statistics.Stats stats

 

Operation Detail

dumpThreads

public void dumpThreads()
Dump the threads for this JVM

getProperty

public java.lang.String getProperty(java.lang.String key)
Gets the system property indicated by the specified key, the same as calling System.getProperty(key).
Parameters:
key - the name of the system property

getIPAddress

public java.lang.String getIPAddress(java.lang.String hostname)
Returns the IP address of the given host, or null if the host is unknown.
Parameters:
hostname - name of the host to lookup

getCurrentTimeInMillis

public long getCurrentTimeInMillis()
Gets the current system time in milliseconds, the same as calling System.currentTimeMillis().
Since:
5.0.1

Copyright IBM Corp. 1996-2003

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.