Package com.google.gerrit.server.project
Class ProjectCacheClock
- java.lang.Object
-
- com.google.gerrit.server.project.ProjectCacheClock
-
- All Implemented Interfaces:
LifecycleListener
,EventListener
public class ProjectCacheClock extends Object implements LifecycleListener
Ticks periodically to force refresh events forProjectCacheImpl
.
-
-
Constructor Summary
Constructors Constructor Description ProjectCacheClock(org.eclipse.jgit.lib.Config serverConfig)
-
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
-
-