Class MTC.TraceSurroundings

  • All Implemented Interfaces:
    AutoCloseable
    Enclosing class:
    MTC

    public static class MTC.TraceSurroundings
    extends Object
    implements AutoCloseable
    Helper for managing of span life cycle. It help to end current span and also reattach previous one to thread after close() would be call.
    • Method Detail

      • close

        public void close()
        Close life cycle of current span.
        Specified by:
        close in interface AutoCloseable