Package org.apache.bookkeeper.bookie
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
lastShutdownWasUnclean()
void
registerCleanShutdown()
void
registerStartUp()
-