Class Instrumentation


  • public class Instrumentation
    extends java.lang.Object
    Internal class used for instrumentation purposes. It maintains a number of counters and displays these on request. The counters are output by calling Instrumentation.report(), typically at the end of a run.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean ACTIVE  
      static java.util.HashMap<java.lang.String,​java.lang.Long> counters  
    • Constructor Summary

      Constructors 
      Constructor Description
      Instrumentation()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String callStack()  
      static void count​(java.lang.String counter)  
      static void count​(java.lang.String counter, long increment)  
      static void report()  
      static void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • counters

        public static java.util.HashMap<java.lang.String,​java.lang.Long> counters
    • Constructor Detail

      • Instrumentation

        public Instrumentation()
    • Method Detail

      • count

        public static void count​(java.lang.String counter)
      • count

        public static void count​(java.lang.String counter,
                                 long increment)
      • callStack

        public static java.lang.String callStack()
      • report

        public static void report()
      • reset

        public static void reset()