public final class AdjustPoolSize extends java.lang.Object implements RouterManagementMesssage, scala.Product, scala.Serializable
Pool
.
It may be handled after other messages.
Positive change
will add that number of routees to the Pool
.
Negative change
will remove that number of routees from the Pool
.
Routees are stopped by sending a PoisonPill
to the routee.
Precautions are taken reduce the risk of dropping messages that are concurrently
being routed to the removed routee, but it is not guaranteed that messages are not
lost.
Constructor and Description |
---|
AdjustPoolSize(int change) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
int |
change() |
abstract static boolean |
equals(java.lang.Object that) |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public int change()