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.ScopeNOOPReturned whenCurrentTraceContext.maybeScope(TraceContext)detected scope redundancy. -
Method Summary
Modifier and Type Method Description voidclose()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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-