-
public interface SchedulerLifecycle
Represents the capability of a Scheduler to be start or shut down its maintained threads.
-
-
Method Summary
-
-
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.
-
-
-
-