Class SingleThreadFutureScheduler

    • Constructor Summary

      Constructors 
      Constructor Description
      SingleThreadFutureScheduler​(java.lang.String source, boolean doKeepAlive)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.ScheduledFuture<?> scheduleFuture​(java.lang.Runnable command, long millisecondDelay)  
      java.util.concurrent.ScheduledFuture<?> scheduleFutureWithFixedDelay​(java.lang.Runnable command, long initialMillisecondDelay, long millisecondDelay)  
      <V> java.util.concurrent.ScheduledFuture<V> scheduleFutureWithReturn​(java.util.concurrent.Callable<V> callable, long millisecondDelay)  
      void teardown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleThreadFutureScheduler

        public SingleThreadFutureScheduler​(java.lang.String source,
                                           boolean doKeepAlive)
    • Method Detail

      • scheduleFuture

        public java.util.concurrent.ScheduledFuture<?> scheduleFuture​(java.lang.Runnable command,
                                                                      long millisecondDelay)
        Specified by:
        scheduleFuture in interface FutureScheduler
      • scheduleFutureWithReturn

        public <V> java.util.concurrent.ScheduledFuture<V> scheduleFutureWithReturn​(java.util.concurrent.Callable<V> callable,
                                                                                    long millisecondDelay)
        Specified by:
        scheduleFutureWithReturn in interface FutureScheduler
      • scheduleFutureWithFixedDelay

        public java.util.concurrent.ScheduledFuture<?> scheduleFutureWithFixedDelay​(java.lang.Runnable command,
                                                                                    long initialMillisecondDelay,
                                                                                    long millisecondDelay)
        Specified by:
        scheduleFutureWithFixedDelay in interface FutureScheduler