Package com.google.api.gax.tracing
Interface ApiTracer.Scope
-
- All Superinterfaces:
java.lang.AutoCloseable
- Enclosing interface:
- ApiTracer
public static interface ApiTracer.Scope extends java.lang.AutoCloseable
A context class to be used withApiTracer.inScope()
and a try-with-resources block. Closing aApiTracer.Scope
removes any context that the underlying implementation might've set inApiTracer.inScope()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-