 | DefaultResizerBackoff Method |
Computes a proposed negative (or zero) capacity delta using
the configured `backoffThreshold` and `backoffRate`
Namespace:
Akka.Routing
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic int Backoff(
int pressure,
int capacity
)
member Backoff :
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 decrease in capacity (as a negative number)
See Also