Package com.google.api.gax.tracing
Interface ApiTracer.Scope
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- ApiTracer
A context class to be used with
ApiTracer.inScope()
and a try-with-resources block. Closing a
ApiTracer.Scope
removes any context that the underlying implementation might've set in ApiTracer.inScope()
.-
Method Summary
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-