Package brave.propagation
Interface CurrentTraceContext.Scope
- All Superinterfaces:
AutoCloseable
,Closeable
- Enclosing class:
- CurrentTraceContext
public static interface CurrentTraceContext.Scope extends 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
Modifier and Type Method Description void
close()
No exceptions are thrown when unbinding a span scope.
-
Field Details
-
NOOP
Returned whenCurrentTraceContext.maybeScope(TraceContext)
detected scope redundancy.
-
-
Method Details
-
close
void close()No exceptions are thrown when unbinding a span scope.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-