Interface Scope

All Superinterfaces:
AutoCloseable

public interface Scope extends AutoCloseable
A Scope that can be (eventually) closed. Used when making a span active.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    Whether the method close() was already called or not.
  • Method Details

    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • isClosed

      boolean isClosed()
      Whether the method close() was already called or not.
      Returns:
      if this scope is closed