Class AutoUpdateService

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service

    public class AutoUpdateService
    extends com.google.common.util.concurrent.AbstractScheduledService
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.common.util.concurrent.AbstractScheduledService

        com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler, com.google.common.util.concurrent.AbstractScheduledService.Scheduler
      • Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

        com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
    • 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()  
      • Methods inherited from class com.google.common.util.concurrent.AbstractScheduledService

        addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, shutDown, startAsync, startUp, state, stopAsync, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class com.google.common.util.concurrent.AbstractScheduledService
        Throws:
        java.lang.Exception
      • scheduler

        protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
        Specified by:
        scheduler in class com.google.common.util.concurrent.AbstractScheduledService