Click or drag to resize
ResizerResize Method
Decide if the capacity of the router need to be changed. Will be invoked when `isTimeForResize` 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 routess. 0 will not change the routees. This method is invoked only in the context of the Router actor.

Namespace: Akka.Routing
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public abstract int Resize(
	IEnumerable<Routee> currentRoutees
)

Parameters

currentRoutees
Type: System.Collections.GenericIEnumerableRoutee

[Missing <param name="currentRoutees"/> documentation for "M:Akka.Routing.Resizer.Resize(System.Collections.Generic.IEnumerable{Akka.Routing.Routee})"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Akka.Routing.Resizer.Resize(System.Collections.Generic.IEnumerable{Akka.Routing.Routee})"]

See Also