Class ClusterRouterPoolSettings

  • All Implemented Interfaces:
    ClusterRouterSettingsBase, java.io.Serializable, scala.Equals, scala.Product

    public final class ClusterRouterPoolSettings
    extends java.lang.Object
    implements scala.Product, java.io.Serializable, ClusterRouterSettingsBase
    totalInstances of cluster router must be > 0 maxInstancesPerNode of cluster router must be > 0 maxInstancesPerNode of cluster router must be 1 when routeesPath is defined
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterRouterPoolSettings

        public ClusterRouterPoolSettings​(int totalInstances,
                                         int maxInstancesPerNode,
                                         boolean allowLocalRoutees,
                                         scala.collection.immutable.Set<java.lang.String> useRoles)
      • ClusterRouterPoolSettings

        public ClusterRouterPoolSettings​(int totalInstances,
                                         int maxInstancesPerNode,
                                         boolean allowLocalRoutees,
                                         java.util.Set<java.lang.String> useRoles)
        Java API
    • Method Detail

      • apply

        public static ClusterRouterPoolSettings apply​(int totalInstances,
                                                      int maxInstancesPerNode,
                                                      boolean allowLocalRoutees,
                                                      java.lang.String... useRoles)
      • apply

        public static ClusterRouterPoolSettings apply​(int totalInstances,
                                                      int maxInstancesPerNode,
                                                      boolean allowLocalRoutees,
                                                      scala.collection.immutable.Set<java.lang.String> useRoles)
      • apply

        public static ClusterRouterPoolSettings apply​(int totalInstances,
                                                      int maxInstancesPerNode,
                                                      boolean allowLocalRoutees,
                                                      scala.collection.immutable.Seq<java.lang.String> useRoles)
      • unapply

        public static scala.Option<scala.Tuple4<java.lang.Object,​java.lang.Object,​java.lang.Object,​scala.collection.immutable.Set<java.lang.String>>> unapply​(ClusterRouterPoolSettings settings)
      • maxInstancesPerNode

        public int maxInstancesPerNode()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • canEqual

        public boolean canEqual​(java.lang.Object that)
        Specified by:
        canEqual in interface scala.Equals
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int n)
        Specified by:
        productElement in interface scala.Product
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withUseRoles

        public ClusterRouterPoolSettings withUseRoles​(scala.collection.immutable.Set<java.lang.String> useRoles)
      • withUseRoles

        public ClusterRouterPoolSettings withUseRoles​(scala.collection.immutable.Seq<java.lang.String> useRoles)