|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.routing.AdjustPoolSize
public class AdjustPoolSize
Increase or decrease the number of routees in a 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 Summary | |
---|---|
AdjustPoolSize(int change)
|
Method Summary | |
---|---|
int |
change()
|
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 |
---|
public AdjustPoolSize(int change)
Method Detail |
---|
public int change()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |