public interface SchedulerLifecycle
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
Instructs the Scheduler instance to stop threads
and stop accepting tasks on any outstanding Workers.
|
void |
start()
Allows the Scheduler instance to start threads
and accept tasks on them.
|
void start()
Implementations should make sure the call is idempotent and thread-safe.
void shutdown()
Implementations should make sure the call is idempotent and thread-safe.
Copyright © 2017. All rights reserved.