Package brave.propagation
Interface CurrentTraceContext.Scope
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- Enclosing class:
- CurrentTraceContext
public static interface CurrentTraceContext.Scope extends java.io.Closeable
A span remains in the scope it was bound to until close is called.
-
-
Field Summary
Fields Modifier and Type Field Description static CurrentTraceContext.Scope
NOOP
Returned whenCurrentTraceContext.maybeScope(TraceContext)
detected scope redundancy.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
No exceptions are thrown when unbinding a span scope.
-
-
-
Field Detail
-
NOOP
static final CurrentTraceContext.Scope NOOP
Returned whenCurrentTraceContext.maybeScope(TraceContext)
detected scope redundancy.
-
-