Package com.google.gerrit.server.index
Class OnlineUpgrader
- java.lang.Object
-
- com.google.gerrit.server.index.OnlineUpgrader
-
- All Implemented Interfaces:
LifecycleListener
,EventListener
public class OnlineUpgrader extends Object implements LifecycleListener
Listener to handle upgrading index schema versions at startup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OnlineUpgrader.OnlineUpgraderModule
-
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()
Description copied from interface:LifecycleListener
Invoked when the server is starting.- Specified by:
start
in interfaceLifecycleListener
-
stop
public void stop()
Description copied from interface:LifecycleListener
Invoked when the server is stopping.- Specified by:
stop
in interfaceLifecycleListener
-
-