Package uk.co.ractf.polaris.node.service
Class AutoUpdateService
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractScheduledService
-
- uk.co.ractf.polaris.node.service.AutoUpdateService
-
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class AutoUpdateService extends com.google.common.util.concurrent.AbstractScheduledService
-
-
Constructor Summary
Constructors Constructor Description AutoUpdateService(ClusterState clusterState, java.util.Set<Runner<?>> runners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
runOneIteration()
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler
scheduler()
-
-
-
Constructor Detail
-
AutoUpdateService
@Inject public AutoUpdateService(ClusterState clusterState, java.util.Set<Runner<?>> runners)
-
-
Method Detail
-
runOneIteration
protected void runOneIteration() throws java.lang.Exception
- Specified by:
runOneIteration
in classcom.google.common.util.concurrent.AbstractScheduledService
- Throws:
java.lang.Exception
-
scheduler
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
- Specified by:
scheduler
in classcom.google.common.util.concurrent.AbstractScheduledService
-
-