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.SpanInScope
NOOP
Noop instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-
-
-
Field Detail
-
NOOP
static final Tracer.SpanInScope NOOP
Noop instance.
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-