Package org.apache.pinot.spi.trace
Interface Scope
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
InvocationScope,RequestScope
- All Known Implementing Classes:
DefaultRequestContext,NoOpRecording
public interface Scope extends AutoCloseable
Models the lifecycle of a span of synchronous work, analogous to the Scope concept in tracing libraries. Must be created and closed on the same thread.
-
-
Method Summary
Modifier and Type Method Description voidclose()
-
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-