Package 

Interface Profiling

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class Profiling.NoOp
    • Method Summary

      Modifier and Type Method Description
      ProfilingScope newScope() Stateful API which restores the previous context when closed.
      ProfilingContextAttribute createContextAttribute(String attribute) Creates a decorator for the attribute, which can be used to set and clear contexts slightlymore efficiently than with string attributes.
      • Methods inherited from class java.lang.Object

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

      • newScope

         ProfilingScope newScope()

        Stateful API which restores the previous context when closed. This requires more memory so hashigher overhead than the stateless API.

      • createContextAttribute

         ProfilingContextAttribute createContextAttribute(String attribute)

        Creates a decorator for the attribute, which can be used to set and clear contexts slightlymore efficiently than with string attributes.

        Parameters:
        attribute - the name of the attribute