DefaultResizer..::..Filter Method

This method can be used to smooth the capacity delta by considering the current pressure and current capacity.

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

Syntax


public int Filter(
	int pressure,
	int capacity
)
Public Function Filter ( _
	pressure As Integer, _
	capacity As Integer _
) As Integer
public:
int^ Filter(
	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 change in the capacity