Removing Un(der)used locking utils (locking is evil) and removing the last locks from the MessageDispatcher
This commit is contained in:
parent
5593e860bc
commit
13bfee782f
9 changed files with 129 additions and 244 deletions
|
|
@ -93,15 +93,18 @@ class Dispatcher(
|
|||
executorService.get() execute invocation
|
||||
} catch {
|
||||
case e: RejectedExecutionException ⇒
|
||||
app.eventStream.publish(Warning(this, e.toString))
|
||||
throw e
|
||||
try {
|
||||
executorService.get() execute invocation
|
||||
} catch {
|
||||
case e2: RejectedExecutionException ⇒
|
||||
app.eventStream.publish(Warning(this, e2.toString))
|
||||
throw e2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected[akka] def createMailbox(actor: ActorCell): Mailbox = mailboxType.create(actor)
|
||||
|
||||
protected[akka] def start {}
|
||||
|
||||
protected[akka] def shutdown {
|
||||
executorService.getAndSet(new ExecutorServiceDelegate {
|
||||
lazy val executor = executorServiceFactory.createExecutorService
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue