Methods Summary |
---|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getBootClasspath()
String bclasspath = bean.getBootClassPath();
return new StringStatisticImpl(bclasspath,
localStrMgr.getString("monitor.stats.boot_class_path_string"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_boot_class_path"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getClassPath()
String cpath = bean.getClassPath();
return new StringStatisticImpl(cpath,
localStrMgr.getString("monitor.stats.class_path_string"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_class_path"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getInputArguments()
ArrayList inputArgs = new ArrayList();
inputArgs.addAll(bean.getInputArguments());
return new StringStatisticImpl(inputArgs.toString (),
localStrMgr.getString("monitor.stats.input_args_string"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_input_args"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getLibraryPath()
String libpath = bean.getLibraryPath();
return new StringStatisticImpl(libpath,
localStrMgr.getString("monitor.stats.lib_path_string"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_lib_path"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getManagementSpecVersion()
String ver = bean.getManagementSpecVersion();
return new StringStatisticImpl(ver,
localStrMgr.getString("monitor.stats.lib_mgmt_spec_ver"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_mgmt_spec_ver"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getName()
String name = bean.getName();
return new StringStatisticImpl(name,
localStrMgr.getString("monitor.stats.name_string"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_vm"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getSpecName()
String specname = bean.getSpecName();
return new StringStatisticImpl(specname,
localStrMgr.getString("monitor.stats.spec_name"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_spec"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getSpecVendor()
String specvendor = bean.getSpecVendor();
return new StringStatisticImpl(specvendor,
localStrMgr.getString("monitor.stats.spec_vendor"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_spec_vendor"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getSpecVersion()
String specver = bean.getSpecVersion();
return new StringStatisticImpl(specver,
localStrMgr.getString("monitor.stats.jvm_spec_vers"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_jvm_spec_vers"),
initTime,
System.currentTimeMillis());
|
public javax.management.j2ee.statistics.Statistic | getStatistic(java.lang.String str)queries for a Statistic by name.
return baseStatsImpl.getStatistic(str);
|
public java.lang.String[] | getStatisticNames()returns an array of names of all the Statistics, that can be
retrieved from this implementation of Stats
return baseStatsImpl.getStatisticNames();
|
public javax.management.j2ee.statistics.Statistic[] | getStatistics()This method can be used to retrieve all the Statistics, exposed
by this implementation of Stats
return baseStatsImpl.getStatistics();
|
public javax.management.j2ee.statistics.CountStatistic | getUptime()
long u = bean.getUptime();
upTime.setCount (u);
return (CountStatistic)upTime.unmodifiableView ();
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getVmName()
String vmname = bean.getVmName();
return new StringStatisticImpl(vmname,
localStrMgr.getString("monitor.stats.jvm_impl_name"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_jvm_impl"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getVmVendor()
String vmvendor = bean.getVmVendor();
return new StringStatisticImpl(vmvendor,
localStrMgr.getString("monitor.stats.jvm_vendor"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_jvm_vendor"),
initTime,
System.currentTimeMillis());
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getVmVersion()
String vmver = bean.getVmVersion();
return new StringStatisticImpl(vmver,
localStrMgr.getString("monitor.stats.jvm_vers"),
localStrMgr.getString("monitor.stats.string_units"),
localStrMgr.getString("monitor.stats.name_of_jvm_vers"),
initTime,
System.currentTimeMillis());
|
private void | initializeStatistics()
// Initialize the MutableCountStatistic for TotalCompilationTime
CountStatistic c = new CountStatisticImpl(
localStrMgr.getString("monitor.stats.total_compilation_time"),
localStrMgr.getString("monitor.stats.milli_sec_units"),
localStrMgr.getString("monitor.stats.milli_sec_units_desc"));
upTime = new MutableCountStatisticImpl(c);
|