Interface Group

All Superinterfaces:
RouterConfig, Serializable
All Known Implementing Classes:
AdaptiveLoadBalancingGroup, BroadcastGroup, ClusterRouterGroup, ConsistentHashingGroup, GroupBase, RandomGroup, RoundRobinGroup, ScatterGatherFirstCompletedGroup, TailChoppingGroup

public interface Group extends RouterConfig
RouterConfig for router actor with routee actors that are created external to the router and the router sends messages to the specified path using actor selection, without watching for termination.
  • Method Details

    • createRouterActor

      org.apache.pekko.routing.RouterActor createRouterActor()
      INTERNAL API
      Specified by:
      createRouterActor in interface RouterConfig
    • paths

      scala.collection.immutable.Iterable<String> paths(ActorSystem system)
    • props

      Props props()
      pekko.actor.Props for a group router based on the settings defined by this instance.
    • routeeFor

      Routee routeeFor(String path, ActorContext context)
      INTERNAL API