Interface ThreadContext.StoredContext

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

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

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

    • close

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

      default void restore()