Run independent futures on the dispatcher directly
This commit is contained in:
parent
a76e62096f
commit
b2c62ba18d
5 changed files with 38 additions and 4 deletions
|
|
@ -98,6 +98,10 @@ class ExecutorBasedEventDrivenDispatcher(
|
|||
registerForExecution(mbox)
|
||||
}
|
||||
|
||||
private[akka] def executeFuture(invocation: FutureInvocation): Unit = if (active.isOn) {
|
||||
executorService.get() execute invocation
|
||||
} else log.slf4j.warn("{} is shut down", this)
|
||||
|
||||
/**
|
||||
* @return the mailbox associated with the actor
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue