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 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 Detail

      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable