Class Footprint.OperatingSystemBeanWrapper

  • Enclosing class:
    Footprint

    public static class Footprint.OperatingSystemBeanWrapper
    extends java.lang.Object
    Wrapper so that possible NoClassDefFoundError can be caught. Instantiating this class will throw a NoClassDefFoundError on JDK 1.4 and earlier, or will throw a ClassCastException on a 1.5-compliant non-sun JRE where the osBean is not a sunBean. (If compiled by Eclipse, instantiating it will throw an unsubclassed java.lang.Error.)
    • Constructor Detail

      • OperatingSystemBeanWrapper

        public OperatingSystemBeanWrapper()
    • Method Detail

      • getProcessCpuTime

        public long getProcessCpuTime()