public class OnMemberStatusChangedListener
extends java.lang.Object
implements akka.actor.Actor, akka.actor.ActorLogging
The supplied callback will be run, once, when current cluster member come up with the same status.
Constructor and Description |
---|
OnMemberStatusChangedListener(java.lang.Runnable callback,
MemberStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
postStop() |
void |
preStart() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public OnMemberStatusChangedListener(java.lang.Runnable callback, MemberStatus status)
public void preStart()
preStart
in interface akka.actor.Actor
public void postStop()
postStop
in interface akka.actor.Actor
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
receive
in interface akka.actor.Actor