#3077 - Deprecating ActorRef.isTerminated
This commit is contained in:
parent
718e2d115c
commit
7b263365aa
12 changed files with 61 additions and 64 deletions
|
|
@ -356,7 +356,7 @@ private[akka] class RemoteActorRef private[akka] (
|
|||
}
|
||||
}
|
||||
|
||||
def isTerminated: Boolean = false
|
||||
@deprecated("Use context.watch(actor) and receive Terminated(actor)", "2.2") override def isTerminated: Boolean = false
|
||||
|
||||
private def handleException: Catcher[Unit] = {
|
||||
case e: InterruptedException ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue