akka.cluster
Class ClusterCoreSupervisor
java.lang.Object
akka.cluster.ClusterCoreSupervisor
- All Implemented Interfaces:
- Actor, ActorLogging, RequiresMessageQueue<UnboundedMessageQueueSemantics>
public final class ClusterCoreSupervisor
- extends java.lang.Object
- implements Actor, ActorLogging, RequiresMessageQueue<UnboundedMessageQueueSemantics>
INTERNAL API.
ClusterCoreDaemon and ClusterDomainEventPublisher can't be restarted because the state
would be obsolete. Shutdown the member if any those actors crashed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.actor.Actor |
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, unhandled |
ClusterCoreSupervisor
public ClusterCoreSupervisor()
publisher
public ActorRef publisher()
coreDaemon
public ActorRef coreDaemon()
supervisorStrategy
public OneForOneStrategy supervisorStrategy()
- Description copied from interface:
Actor
- User overridable definition the strategy to use for supervising
child actors.
- Specified by:
supervisorStrategy
in interface Actor
- Returns:
- (undocumented)
postStop
public void postStop()
- Description copied from interface:
Actor
- User overridable callback.
Is called asynchronously after 'actor.stop()' is invoked.
Empty default implementation.
- Specified by:
postStop
in interface Actor
receive
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
- Description copied from interface:
Actor
- This defines the initial actor behavior, it must return a partial function
with the actor logic.
- Specified by:
receive
in interface Actor
- Returns:
- (undocumented)