fixed name of dispatcher in log messages
This commit is contained in:
parent
62cdb9fc23
commit
308bf20a7d
3 changed files with 3 additions and 3 deletions
|
|
@ -89,7 +89,7 @@ class ExecutorBasedEventDrivenDispatcher(_name: String) extends MessageDispatche
|
||||||
}
|
}
|
||||||
|
|
||||||
def shutdown = if (active) {
|
def shutdown = if (active) {
|
||||||
log.debug("Shutting down ThreadBasedDispatcher [%s]", name)
|
log.debug("Shutting down ExecutorBasedEventDrivenDispatcher [%s]", name)
|
||||||
executor.shutdownNow
|
executor.shutdownNow
|
||||||
active = false
|
active = false
|
||||||
references.clear
|
references.clear
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ class ExecutorBasedEventDrivenWorkStealingDispatcher(_name: String) extends Mess
|
||||||
}
|
}
|
||||||
|
|
||||||
def shutdown = if (active) {
|
def shutdown = if (active) {
|
||||||
log.debug("Shutting down ThreadBasedDispatcher [%s]", name)
|
log.debug("Shutting down ExecutorBasedEventDrivenWorkStealingDispatcher [%s]", name)
|
||||||
executor.shutdownNow
|
executor.shutdownNow
|
||||||
active = false
|
active = false
|
||||||
references.clear
|
references.clear
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ class ThreadBasedDispatcher private[akka] (val name: String, val messageHandler:
|
||||||
def isShutdown = !active
|
def isShutdown = !active
|
||||||
|
|
||||||
def shutdown = if (active) {
|
def shutdown = if (active) {
|
||||||
log.debug("Shutting down ExecutorBasedEventDrivenDispatcher [%s]", name)
|
log.debug("Shutting down ThreadBasedDispatcher [%s]", name)
|
||||||
active = false
|
active = false
|
||||||
selectorThread.interrupt
|
selectorThread.interrupt
|
||||||
references.clear
|
references.clear
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue