Class ThresholdLogScope

  • All Implemented Interfaces:
    io.opentracing.Scope, Closeable, AutoCloseable

    public class ThresholdLogScope
    extends Object
    implements io.opentracing.Scope
    ThresholdLogScope is a simple Scope implementation that relies on Java's thread-local storage primitive, very similar to the one shipped with "opentracing-util".
    Michael Nitschinger
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface io.opentracing.Scope
      • span

        public io.opentracing.Span span()
        Specified by:
        span in interface io.opentracing.Scope