Initial attempt at suspend/resume
This commit is contained in:
parent
3a9994bbe0
commit
ae3768c266
8 changed files with 99 additions and 38 deletions
|
|
@ -79,6 +79,9 @@ trait MessageDispatcher extends MailboxFactory with Logging {
|
|||
if (canBeShutDown) shutdown // shut down in the dispatcher's references is zero
|
||||
}
|
||||
|
||||
def suspend(actorRef: ActorRef): Unit
|
||||
def resume(actorRef: ActorRef): Unit
|
||||
|
||||
def canBeShutDown: Boolean = uuids.isEmpty
|
||||
|
||||
def isShutdown: Boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue