AutoCloseable
, Closeable
public static interface CurrentTraceContext.Scope extends Closeable
Modifier and Type | Field | Description |
---|---|---|
static CurrentTraceContext.Scope |
NOOP |
Returned when
CurrentTraceContext.maybeScope(TraceContext) detected scope
redundancy. |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
No exceptions are thrown when unbinding a span scope.
|
static final CurrentTraceContext.Scope NOOP
CurrentTraceContext.maybeScope(TraceContext)
detected scope
redundancy.void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2018 OpenZipkin. All rights reserved.