public final class ClusterCoreSupervisor extends java.lang.Object implements Actor, ActorLogging, RequiresMessageQueue<UnboundedMessageQueueSemantics>
ClusterCoreDaemon and ClusterDomainEventPublisher can't be restarted because the state would be obsolete. Shutdown the member if any those actors crashed.
Actor.emptyBehavior$, Actor.ignoringBehavior$| Constructor and Description |
|---|
ClusterCoreSupervisor() |
| Modifier and Type | Method and Description |
|---|---|
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
scala.Option<ActorRef> |
coreDaemon() |
void |
createChildren() |
void |
postStop()
User overridable callback.
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
OneForOneStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising
child actors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, preStart, sender, unhandledlogpublic ActorContext context()
Actorforward.
WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
ActorContext is the Scala API. getContext returns a
UntypedActorContext, which is the Java API of the actor
context.
public final ActorRef self()
Actorself ! message
public scala.Option<ActorRef> coreDaemon()
public void createChildren()
public OneForOneStrategy supervisorStrategy()
ActorsupervisorStrategy in interface Actorpublic void postStop()
Actor