Package org.apache.pekko.cluster.routing
Class ClusterRouterSettingsBase$
java.lang.Object
org.apache.pekko.cluster.routing.ClusterRouterSettingsBase$
INTERNAL API
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClusterRouterSettingsBase$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMaxTotalNrOfInstances(com.typesafe.config.Config config) For backwards compatibility reasons, nr-of-instances has the same purpose as max-total-nr-of-instances for cluster aware routers and nr-of-instances (if defined by user) takes precedence over max-total-nr-of-instances.scala.Option<String>useRoleOption(String role)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ClusterRouterSettingsBase$
public ClusterRouterSettingsBase$()
-
-
Method Details
-
useRoleOption
-
getMaxTotalNrOfInstances
public int getMaxTotalNrOfInstances(com.typesafe.config.Config config) For backwards compatibility reasons, nr-of-instances has the same purpose as max-total-nr-of-instances for cluster aware routers and nr-of-instances (if defined by user) takes precedence over max-total-nr-of-instances.
-