|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInfoMBean
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 |
listMemoryPools(boolean fancy)
Return a listing of the thread pools on jdk5+. |
String |
listThreadCpuUtilization()
Return a sort list of thread cpu utilization. |
String |
listThreadDump()
Return a listing of the active threads and thread groups. |
Field Detail |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
String getJavaVersion()
String getJavaVendor()
String getJavaVMName()
String getJavaVMVersion()
String getJavaVMVendor()
String getOSName()
String getOSVersion()
String getOSArch()
Long getTotalMemory()
Long getFreeMemory()
Long getMaxMemory()
Integer getAvailableProcessors()
String getHostName()
String getHostAddress()
String listMemoryPools(boolean fancy)
fancy
- produce a text-based graph when trueInteger getActiveThreadCount()
Integer getActiveThreadGroupCount()
String listThreadDump()
String listThreadCpuUtilization()
String displayPackageInfo(String pkgName)
String displayInfoForClass(String className) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |