#1692 - Adding config option for making the Scheduler daemonic
This commit is contained in:
parent
c4b4302266
commit
03bc15feb1
4 changed files with 21 additions and 8 deletions
|
|
@ -123,7 +123,9 @@ trait Cancellable {
|
|||
* if it does not enqueue a task. Once a task is queued, it MUST be executed or
|
||||
* returned from stop().
|
||||
*/
|
||||
class DefaultScheduler(hashedWheelTimer: HashedWheelTimer, log: LoggingAdapter, dispatcher: ⇒ MessageDispatcher) extends Scheduler with Closeable {
|
||||
class DefaultScheduler(hashedWheelTimer: HashedWheelTimer,
|
||||
log: LoggingAdapter,
|
||||
dispatcher: ⇒ MessageDispatcher) extends Scheduler with Closeable {
|
||||
|
||||
def schedule(initialDelay: Duration, delay: Duration, receiver: ActorRef, message: Any): Cancellable = {
|
||||
val continuousCancellable = new ContinuousCancellable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue