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.RoutingAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic int Pressure(
IEnumerable<Routee> currentRoutees
)
Public Function Pressure (
currentRoutees As IEnumerable(Of Routee)
) As Integer
public:
int Pressure(
IEnumerable<Routee^>^ currentRoutees
)
member Pressure :
currentRoutees : IEnumerable<Routee> -> int
Parameters
- currentRoutees
- Type: System.Collections.GenericIEnumerableRoutee
[Missing <param name="currentRoutees"/> documentation for "M:Akka.Routing.DefaultResizer.Pressure(System.Collections.Generic.IEnumerable{Akka.Routing.Routee})"]
Return Value
Type:
Int32[Missing <returns> documentation for "M:Akka.Routing.DefaultResizer.Pressure(System.Collections.Generic.IEnumerable{Akka.Routing.Routee})"]
See Also