Package com.google.gerrit.server
Class StartupChecks
- java.lang.Object
-
- com.google.gerrit.server.StartupChecks
-
- All Implemented Interfaces:
LifecycleListener
,EventListener
public class StartupChecks extends Object implements LifecycleListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StartupChecks.StartupChecksModule
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
Invoked when the server is starting.void
stop()
Invoked when the server is stopping.
-
-
-
Method Detail
-
start
public void start() throws StartupException
Description copied from interface:LifecycleListener
Invoked when the server is starting.- Specified by:
start
in interfaceLifecycleListener
- Throws:
StartupException
-
stop
public void stop()
Description copied from interface:LifecycleListener
Invoked when the server is stopping.- Specified by:
stop
in interfaceLifecycleListener
-
-