Class Footprint.OperatingSystemBeanWrapper

java.lang.Object
edu.umd.cs.findbugs.Footprint.OperatingSystemBeanWrapper
Enclosing class:
Footprint

public static class Footprint.OperatingSystemBeanWrapper extends 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 Details

    • OperatingSystemBeanWrapper

      public OperatingSystemBeanWrapper()
  • Method Details

    • getProcessCpuTime

      public long getProcessCpuTime()