Class TraceOperation

  • All Implemented Interfaces:
    ITraceOperation, AutoCloseable

    public class TraceOperation
    extends Object
    implements ITraceOperation
    Helps trace a block of code.

    Use TraceOperation.createRootWithLogging to setup tracing on a thread. Use TraceOperation.addToExistingTrace to add to the existing tracer. Use TraceOperation.getChildTrace to track operation which runs in another thread

    NOTE: Ensure that close() is called on each of the operation. NOTE: This class is for internal use and can change without notice.