Package 

Class GenericScheduledExecutorService

    • Method Summary

      Modifier and Type Method Description
      void start() Allows the Scheduler instance to start threadsand accept tasks on them.
      void shutdown() Instructs the Scheduler instance to stop threadsand stop accepting tasks on any outstanding Workers.
      static ScheduledExecutorService getInstance() Returns one of the single-threaded ScheduledExecutorService helper executors.
      • Methods inherited from class java.lang.Object

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

      • start

         void start()

        Allows the Scheduler instance to start threadsand accept tasks on them.

        Implementations should make sure the call is idempotent and thread-safe.

      • shutdown

         void shutdown()

        Instructs the Scheduler instance to stop threadsand stop accepting tasks on any outstanding Workers.

        Implementations should make sure the call is idempotent and thread-safe.