Package 

Interface SchedulerLifecycle


  • 
    public interface SchedulerLifecycle
    
                        

    Represents the capability of a Scheduler to be start or shut down its maintained threads.

    • Method Summary

      Modifier and Type Method Description
      abstract void start() Allows the Scheduler instance to start threadsand accept tasks on them.
      abstract void shutdown() Instructs the Scheduler instance to stop threadsand stop accepting tasks on any outstanding Workers.
      • Methods inherited from class java.lang.Object

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

      • start

         abstract 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

         abstract 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.