| DefaultResizerPressure 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) Version: 1.2.3.42 (1.2.3.42)
Syntax public int Pressure(
IEnumerable<Routee> currentRoutees
)
member Pressure :
currentRoutees : IEnumerable<Routee> -> int
Parameters
- currentRoutees
- Type: System.Collections.GenericIEnumerableRoutee
An enumeration of the current routees
Return Value
Type:
Int32The number of routees considered to be above pressure level.
See Also