Package akka.routing
Class Resizer$
- java.lang.Object
-
- akka.routing.Resizer$
-
public class Resizer$ extends java.lang.Object
Decide if the capacity of the router need to be changed. Will be invoked whenisTimeForResize
returns true and no other resize is in progress.Return the number of routees to add or remove. Negative value will remove that number of routees. Positive value will add that number of routees. 0 will not change the routees.
This method is invoked only in the context of the Router actor.
-
-
Constructor Summary
Constructors Constructor Description Resizer$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<Resizer>
fromConfig(com.typesafe.config.Config parentConfig)
-