Class BraveScope

java.lang.Object
brave.opentracing.BraveScope
All Implemented Interfaces:
io.opentracing.Scope, java.io.Closeable, java.lang.AutoCloseable

public class BraveScope
extends java.lang.Object
implements io.opentracing.Scope
BraveScope is a simple Scope implementation that wraps the corresponding Brave scope.
See Also:
Tracer.SpanInScope
  • Method Summary

    Modifier and Type Method Description
    void close()  
    BraveSpan span()
    Deprecated.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • close

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

      @Deprecated public BraveSpan span()
      Deprecated.
      Specified by:
      span in interface io.opentracing.Scope
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object