Class RandomLogic
Implements
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public sealed class RandomLogic : RoutingLogic, INoSerializationVerificationNeeded
Methods
| Improve this Doc View SourceSelect(Object, Routee[])
Picks a random Routee to receive the message
.
Declaration
public override Routee Select(object message, Routee[] routees)
Parameters
Type | Name | Description |
---|---|---|
Object | message | The message that is being routed. |
Routee[] | routees | A collection of routees to randomly choose from when receiving the |
Returns
Type | Description |
---|---|
Routee | A Routee that receives the |