DefaultResizer..::..Backoff Method

Computes a proposed negative (or zero) capacity delta using the configured `backoffThreshold` and `backoffRate`

Namespace:  Akka.Routing
Assembly:  Akka (in Akka.dll)

Syntax


public int Backoff(
	int pressure,
	int capacity
)
Public Function Backoff ( _
	pressure As Integer, _
	capacity As Integer _
) As Integer
public:
int^ Backoff(
	int^ pressure, 
	int^ capacity
)

Parameters

pressure
Type: Int32
pressure current number of busy routees
capacity
Type: Int32
capacity current number of routees

Return Value

proposed decrease in capacity (as a negative number)