Class AdjustPoolSize

  extended by akka.routing.AdjustPoolSize
All Implemented Interfaces:
RouterManagementMesssage, java.io.Serializable, scala.Equals, scala.Product

public class AdjustPoolSize
extends java.lang.Object
implements RouterManagementMesssage, scala.Product, scala.Serializable

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.

See Also:
Serialized Form

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()