Interface UncleanShutdownDetection

  • All Known Implementing Classes:
    UncleanShutdownDetectionImpl

    public interface UncleanShutdownDetection
    An interface for unclean shutdown detection. The bookie must register its start-up and then register its graceful shutdown. Abrupt termination will not register the clean shutdown.
    • Method Detail

      • registerStartUp

        void registerStartUp()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • registerCleanShutdown

        void registerCleanShutdown()
      • lastShutdownWasUnclean

        boolean lastShutdownWasUnclean()