Class ClusterRouterPoolSettings

    • 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,
                                         scala.Option<java.lang.String> useRole)
        Deprecated.
        useRole has been replaced with useRoles. Since 2.5.4.
      • ClusterRouterPoolSettings

        public ClusterRouterPoolSettings​(int totalInstances,
                                         int maxInstancesPerNode,
                                         boolean allowLocalRoutees,
                                         java.lang.String useRole)
        Deprecated.
        useRole has been replaced with useRoles. Since 2.5.4.
        Java API
        Parameters:
        totalInstances - (undocumented)
        maxInstancesPerNode - (undocumented)
        allowLocalRoutees - (undocumented)
        useRole - (undocumented)
      • ClusterRouterPoolSettings

        public ClusterRouterPoolSettings​(int totalInstances,
                                         int maxInstancesPerNode,
                                         boolean allowLocalRoutees,
                                         java.util.Set<java.lang.String> useRoles)
        Java API
        Parameters:
        totalInstances - (undocumented)
        maxInstancesPerNode - (undocumented)
        allowLocalRoutees - (undocumented)
        useRoles - (undocumented)
    • 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.Option<java.lang.String> useRole)
        Deprecated.
        useRole has been replaced with useRoles. Since 2.5.4.
      • apply

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

        public static ClusterRouterPoolSettings apply​(int totalInstances,
                                                      int maxInstancesPerNode,
                                                      boolean allowLocalRoutees,
                                                      scala.collection.immutable.Set<java.lang.String> useRoles)
        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
        Parameters:
        totalInstances - (undocumented)
        maxInstancesPerNode - (undocumented)
        allowLocalRoutees - (undocumented)
        useRoles - (undocumented)
        Returns:
        (undocumented)
      • 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 x$0)
      • withUseRoles

        public ClusterRouterPoolSettings withUseRoles​(java.lang.String... useRoles)
        Java API
        Parameters:
        useRoles - (undocumented)
        Returns:
        (undocumented)
      • maxInstancesPerNode

        public int maxInstancesPerNode()
      • useRole

        public scala.Option<java.lang.String> useRole()
        Deprecated.
        useRole has been replaced with useRoles. Since 2.5.4.
      • copy

        public ClusterRouterPoolSettings copy​(int totalInstances,
                                              int maxInstancesPerNode,
                                              boolean allowLocalRoutees,
                                              scala.Option<java.lang.String> useRole)
        Deprecated.
        Use copy with useRoles instead. Since 2.5.4.
      • copy$default$1

        public int copy$default$1()
      • copy$default$2

        public int copy$default$2()
      • copy$default$3

        public boolean copy$default$3()
      • copy$default$4

        public scala.Option<java.lang.String> copy$default$4()
      • withUseRoles

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

        public ClusterRouterPoolSettings withUseRoles​(java.util.Set<java.lang.String> useRoles)
        Java API
        Parameters:
        useRoles - (undocumented)
        Returns:
        (undocumented)
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

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

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

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

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

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object