Package 

Class PeriodicRunnable

  • All Implemented Interfaces:

    
    public abstract class PeriodicRunnable
    
                        

    A base class for runnables which should be periodically executed on specified executor service.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void schedule() Schedules periodic execution of run on executor's thread.
      void cancel() Cancels periodic execution of run on executor's thread.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • schedule

         void schedule()

        Schedules periodic execution of run on executor's thread.

      • cancel

         void cancel()

        Cancels periodic execution of run on executor's thread.