akka.cluster.routing
Class ClusterRouterGroupSettings

java.lang.Object
  extended by akka.cluster.routing.ClusterRouterGroupSettings
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class ClusterRouterGroupSettings
extends java.lang.Object
implements scala.Product, scala.Serializable

totalInstances of cluster router must be > 0

See Also:
Serialized Form

Constructor Summary
ClusterRouterGroupSettings(int totalInstances, java.lang.Iterable<java.lang.String> routeesPaths, boolean allowLocalRoutees, java.lang.String useRole)
          Java API
ClusterRouterGroupSettings(int totalInstances, scala.collection.immutable.Seq<java.lang.String> routeesPaths, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
           
ClusterRouterGroupSettings(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
           
ClusterRouterGroupSettings(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees, java.lang.String useRole)
          Java API
 
Method Summary
 boolean allowLocalRoutees()
           
static ClusterRouterGroupSettings fromConfig(com.typesafe.config.Config config)
           
 scala.collection.immutable.Seq<java.lang.String> routeesPaths()
           
 int totalInstances()
           
 scala.Option<java.lang.String> useRole()
           
 scala.Option<java.lang.String> useRoleOption(java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

ClusterRouterGroupSettings

public ClusterRouterGroupSettings(int totalInstances,
                                  scala.collection.immutable.Seq<java.lang.String> routeesPaths,
                                  boolean allowLocalRoutees,
                                  scala.Option<java.lang.String> useRole)

ClusterRouterGroupSettings

public ClusterRouterGroupSettings(int totalInstances,
                                  java.lang.String routeesPath,
                                  boolean allowLocalRoutees,
                                  scala.Option<java.lang.String> useRole)

ClusterRouterGroupSettings

public ClusterRouterGroupSettings(int totalInstances,
                                  java.lang.Iterable<java.lang.String> routeesPaths,
                                  boolean allowLocalRoutees,
                                  java.lang.String useRole)
Java API


ClusterRouterGroupSettings

public ClusterRouterGroupSettings(int totalInstances,
                                  java.lang.String routeesPath,
                                  boolean allowLocalRoutees,
                                  java.lang.String useRole)
Java API

Method Detail

fromConfig

public static ClusterRouterGroupSettings fromConfig(com.typesafe.config.Config config)

totalInstances

public int totalInstances()

routeesPaths

public scala.collection.immutable.Seq<java.lang.String> routeesPaths()

allowLocalRoutees

public boolean allowLocalRoutees()

useRole

public scala.Option<java.lang.String> useRole()

useRoleOption

public scala.Option<java.lang.String> useRoleOption(java.lang.String role)