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