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
Fields Modifier and Type Field Description protected org.eclipse.jgit.lib.Config
config
protected WorkQueue
queue
protected PeriodicProjectListCacheWarmer
runner
-
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.
-
-
-
Field Detail
-
config
protected final org.eclipse.jgit.lib.Config config
-
queue
protected final WorkQueue queue
-
runner
protected final PeriodicProjectListCacheWarmer runner
-
-
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
-
-