Added Java API constructor to supervision configuration
This commit is contained in:
parent
32592b46a7
commit
df79b08d7e
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ object Supervision {
|
|||
//Java API
|
||||
def this(actorRef: ActorRef, lifeCycle: LifeCycle, remoteAddress: RemoteAddress) =
|
||||
this(actorRef, lifeCycle, Option(remoteAddress))
|
||||
|
||||
//Java API
|
||||
def this(actorRef: ActorRef, lifeCycle: LifeCycle) =
|
||||
this(actorRef, lifeCycle, None)
|
||||
}
|
||||
|
||||
object Supervise {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue