DefaultResizer..::..Capacity Method

Returns the overall desired change in resizer capacity. Positive value will add routees to the resizer. Negative value will remove routees from the resizer

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

Syntax


public int Capacity(
	IEnumerable<Routee> currentRoutees
)
Public Function Capacity ( _
	currentRoutees As IEnumerable(Of Routee) _
) As Integer
public:
int^ Capacity(
	IEnumerable<Routee^>^ currentRoutees
)

Parameters

currentRoutees
Type: IEnumerable<(Of <(<'Routee>)>)>
The current actor in the resizer

Return Value

the number of routees by which the resizer should be adjusted (positive, negative or zero)