Interface ShutdownContext


  • public interface ShutdownContext
    A context that can be passed into runtime recorders that allows for shutdown tasks to be added. Tasks are executed in the reverse order that they are added.
    • Method Detail

      • addShutdownTask

        void addShutdownTask​(Runnable runnable)
      • addLastShutdownTask

        void addLastShutdownTask​(Runnable runnable)