|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
|
Method Summary | |
String |
displayInfoForClass(String className)
Display the ClassLoader, ProtectionDomain and Package information for the specified class. |
String |
displayPackageInfo(String pkgName)
Display the java.lang.Package info for the pkgName |
Integer |
getActiveThreadCount()
|
Integer |
getActiveThreadGroupCount()
|
Integer |
getAvailableProcessors()
Returns Runtime.getRuntime().availableProcessors() on JDK 1.4 vms or -1 on previous versions. |
Long |
getFreeMemory()
|
String |
getHostAddress()
Returns InetAddress.getLocalHost().getHostAddress(); |
String |
getHostName()
Returns InetAddress.getLocalHost().getHostName(); |
String |
getJavaVendor()
|
String |
getJavaVersion()
|
String |
getJavaVMName()
|
String |
getJavaVMVendor()
|
String |
getJavaVMVersion()
|
Long |
getMaxMemory()
Returns Runtime.getRuntime().maxMemory() on JDK 1.4 vms or -1 on previous versions. |
String |
getOSArch()
|
String |
getOSName()
|
String |
getOSVersion()
|
Long |
getTotalMemory()
|
String |
listThreadDump()
Return a listing of the active threads and thread groups. |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public String getJavaVersion()
public String getJavaVendor()
public String getJavaVMName()
public String getJavaVMVersion()
public String getJavaVMVendor()
public String getOSName()
public String getOSVersion()
public String getOSArch()
public Long getTotalMemory()
public Long getFreeMemory()
public Long getMaxMemory()
public Integer getAvailableProcessors()
public String getHostName()
public String getHostAddress()
public Integer getActiveThreadCount()
public Integer getActiveThreadGroupCount()
public String listThreadDump()
public String displayPackageInfo(String pkgName)
public String displayInfoForClass(String className) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |