1 22 package org.jboss.system.server; 23 24 import javax.management.ObjectName ; 25 26 31 public interface ServerInfoMBean 32 { 33 34 final String OBJECT_NAME_STR = "jboss.system:type=ServerInfo"; 35 36 38 String getJavaVersion(); 39 String getJavaVendor(); 40 41 String getJavaVMName(); 42 String getJavaVMVersion(); 43 String getJavaVMVendor(); 44 45 String getOSName(); 46 String getOSVersion(); 47 String getOSArch(); 48 49 Integer getActiveThreadCount(); 50 Integer getActiveThreadGroupCount(); 51 52 53 Long getMaxMemory(); 54 Long getTotalMemory(); 55 Long getFreeMemory(); 56 57 58 Integer getAvailableProcessors(); 59 60 61 String getHostName(); 62 63 64 String getHostAddress(); 65 66 68 72 String listMemoryPools(boolean fancy); 73 74 78 String listThreadDump(); 79 80 83 String listThreadCpuUtilization(); 84 85 88 String displayPackageInfo(String pkgName); 89 90 } 91 | Popular Tags |