Package org.springframework.cloud.sleuth
Interface Tracer.SpanInScope
-
- All Superinterfaces:
AutoCloseable,Closeable
- Enclosing interface:
- Tracer
public static interface Tracer.SpanInScope extends Closeable
Scope of a span. Needs to be closed so that resources are let go (e.g. MDC is cleared).
-
-
Field Summary
Fields Modifier and Type Field Description static Tracer.SpanInScopeNOOPNoop instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()
-
-
-
Field Detail
-
NOOP
static final Tracer.SpanInScope NOOP
Noop instance.
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-