DefaultResizer..::..Pressure Method

Number of routees considered busy, or above 'pressure level'. Implementation depends on the value of `pressureThreshold` (default is 1).
  • 0: number of routees currently processing a message.
  • 1: number of routees currently processing a message has some messages in mailbox.
  • > 1: number of routees with at least the configured `pressureThreshold` messages in their mailbox. Note that estimating mailbox size of default UnboundedMailbox is O(N) operation.

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

Syntax


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

Parameters

currentRoutees
Type: IEnumerable<(Of <(<'Routee>)>)>

Return Value