Package com.google.gerrit.server.project
Class PeriodicProjectListCacheWarmer.LifeCycle
java.lang.Object
com.google.gerrit.server.project.PeriodicProjectListCacheWarmer.LifeCycle
- All Implemented Interfaces:
LifecycleListener
,EventListener
- Enclosing class:
- PeriodicProjectListCacheWarmer
public static class PeriodicProjectListCacheWarmer.LifeCycle
extends Object
implements LifecycleListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.jgit.lib.Config
protected final WorkQueue
protected final PeriodicProjectListCacheWarmer
-
Method Summary
-
Field Details
-
config
protected final org.eclipse.jgit.lib.Config config -
queue
-
runner
-
-
Method Details
-
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
-