Interface ThreadContext.StoredContext

  • All Superinterfaces:
    java.lang.AutoCloseable
    Enclosing class:
    ThreadContext
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ThreadContext.StoredContext
    extends java.lang.AutoCloseable
    • Method Summary

      Modifier and Type Method Description
      void close()  
      default void restore()  
    • Method Detail

      • close

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

        default void restore()