public class ClusterRouterGroupActor extends RouterActor implements ClusterRouterActor
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
ClusterRouterGroupActor(ClusterRouterGroupSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
addRoutees()
Adds routees based on totalInstances and maxInstancesPerNode settings
|
Group |
group() |
scala.collection.immutable.SortedSet<Address> |
nodes() |
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 |
removeMember(Member member) |
scala.Option<scala.Tuple2<Address,java.lang.String>> |
selectDeploymentTarget() |
ClusterRouterGroupSettings |
settings() |
scala.collection.immutable.Map<Address,scala.collection.immutable.Set<java.lang.String>> |
usedRouteePaths() |
cell, context, preRestart, routingLogicController, self, stopIfAllRouteesRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMember, availableNodes, cluster, clusterReceive, fullAddress, isAvailable, postStop, preStart, satisfiesRole
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, postStop, preStart, sender, supervisorStrategy, unhandled
public ClusterRouterGroupActor(ClusterRouterGroupSettings settings)
public scala.collection.immutable.SortedSet<Address> nodes()
nodes
in interface ClusterRouterActor
public ClusterRouterGroupSettings settings()
settings
in interface ClusterRouterActor
public Group group()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
receive
in interface Actor
receive
in class RouterActor
public scala.collection.immutable.Map<Address,scala.collection.immutable.Set<java.lang.String>> usedRouteePaths()
public void addRoutees()
addRoutees
in interface ClusterRouterActor
public scala.Option<scala.Tuple2<Address,java.lang.String>> selectDeploymentTarget()
public void removeMember(Member member)
removeMember
in interface ClusterRouterActor