Class ScheduledDirectPeriodicTask

  • All Implemented Interfaces:
    Disposable, SchedulerRunnableIntrospection, java.io.Serializable, java.lang.Runnable

    public final class ScheduledDirectPeriodicTask
    extends AbstractDirectTask
    implements java.lang.Runnable
    A Callable to be submitted to an ExecutorService that runs a Runnable action periodically and manages completion/cancellation.
    Since:
    2.0.8
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduledDirectPeriodicTask​(java.lang.Runnable runnable, boolean interruptOnCancel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

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

      • ScheduledDirectPeriodicTask

        public ScheduledDirectPeriodicTask​(java.lang.Runnable runnable,
                                           boolean interruptOnCancel)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable