Package 

Interface Tracer

  • All Implemented Interfaces:

    
    public interface Tracer
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Trace openTrace(String name) Opens a manual trace If you want automatic error-handling and closing, trace("").
      <T extends Any> T trace(String name, Function1<Trace, T> toTrace) Utility method to execute a command with a trace
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • openTrace

         abstract Trace openTrace(String name)

        Opens a manual trace If you want automatic error-handling and closing, trace("").use { trace -> ... } is suggested

      • trace

         <T extends Any> T trace(String name, Function1<Trace, T> toTrace)

        Utility method to execute a command with a trace

        Parameters:
        name - name of the trace
        toTrace - callback to execute with the trace