DefaultResizerFilter Method |
This method can be used to smooth the capacity delta by considering
the current pressure and current capacity.
Namespace: Akka.RoutingAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic int Filter(
int pressure,
int capacity
)
Public Function Filter (
pressure As Integer,
capacity As Integer
) As Integer
public:
int Filter(
int pressure,
int capacity
)
member Filter :
pressure : int *
capacity : int -> int
Parameters
- pressure
- Type: SystemInt32
pressure current number of busy routees - capacity
- Type: SystemInt32
capacity current number of routees
Return Value
Type:
Int32proposed change in the capacity
See Also