Package akka.cluster.routing
Interface ClusterRouterActor
-
public interface ClusterRouterActor
INTERNAL API The router actor, subscribes to cluster events and adjusts the routees.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMember(Member member)
void
addRoutees()
Adds routees based on settingsscala.collection.immutable.SortedSet<Address>
availableNodes()
Cluster
cluster()
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
clusterReceive()
Address
fullAddress(Routee routee)
Fills in self address for local ActorRefboolean
isAvailable(Member m)
scala.collection.immutable.SortedSet<Address>
nodes()
void
nodes_$eq(scala.collection.immutable.SortedSet<Address> x$1)
void
postStop()
void
preStart()
void
removeMember(Member member)
boolean
satisfiesRoles(scala.collection.immutable.Set<java.lang.String> memberRoles)
ClusterRouterSettingsBase
settings()
-
-
-
Method Detail
-
addMember
void addMember(Member member)
-
addRoutees
void addRoutees()
Adds routees based on settings
-
availableNodes
scala.collection.immutable.SortedSet<Address> availableNodes()
-
cluster
Cluster cluster()
-
clusterReceive
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> clusterReceive()
-
isAvailable
boolean isAvailable(Member m)
-
nodes
scala.collection.immutable.SortedSet<Address> nodes()
-
nodes_$eq
void nodes_$eq(scala.collection.immutable.SortedSet<Address> x$1)
-
postStop
void postStop()
-
preStart
void preStart()
-
removeMember
void removeMember(Member member)
-
satisfiesRoles
boolean satisfiesRoles(scala.collection.immutable.Set<java.lang.String> memberRoles)
-
settings
ClusterRouterSettingsBase settings()
-
-