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 Details

    • registerStartUp

      void registerStartUp() throws IOException
      Throws:
      IOException
    • registerCleanShutdown

      void registerCleanShutdown()
    • lastShutdownWasUnclean

      boolean lastShutdownWasUnclean()