akka.contrib.pattern
Class ShardCoordinatorSupervisor
java.lang.Object
akka.contrib.pattern.ShardCoordinatorSupervisor
- All Implemented Interfaces:
- Actor
public class ShardCoordinatorSupervisor
- extends java.lang.Object
- implements Actor
Method Summary |
void |
preStart()
User overridable callback. |
static Props |
props(scala.concurrent.duration.FiniteDuration failureBackoff,
Props coordinatorProps)
Factory method for the Props of the ShardCoordinator actor. |
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. |
void |
startCoordinator()
|
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, postStop, preRestart, self, sender, supervisorStrategy, unhandled |
ShardCoordinatorSupervisor
public ShardCoordinatorSupervisor(scala.concurrent.duration.FiniteDuration failureBackoff,
Props coordinatorProps)
props
public static Props props(scala.concurrent.duration.FiniteDuration failureBackoff,
Props coordinatorProps)
- Factory method for the
Props
of the ShardCoordinator
actor.
- Parameters:
failureBackoff
- (undocumented)coordinatorProps
- (undocumented)
- Returns:
- (undocumented)
startCoordinator
public void startCoordinator()
preStart
public void preStart()
- Description copied from interface:
Actor
- User overridable callback.
Is called when an Actor is started.
Actors are automatically started asynchronously when created.
Empty default implementation.
- Specified by:
preStart
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)