C# Class Akka.Routing.ScatterGatherFirstCompletedRoutingLogic

This class contains logic used by a Router to route a message to a Routee determined using scatter-gather-first-completed. This process has the router send a message to all of its routees. The first response is used and the remaining are discarded. If the none of the routees respond within a specified time limit, a timeout failure occurs.
Inheritance: RoutingLogic
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
ScatterGatherFirstCompletedRoutingLogic ( System.TimeSpan within ) : System

Initializes a new instance of the ScatterGatherFirstCompletedRoutingLogic class.

Select ( object message, Routee routees ) : Routee

Picks all the provided routees to receive the message.

Method Details

ScatterGatherFirstCompletedRoutingLogic() public méthode

Initializes a new instance of the ScatterGatherFirstCompletedRoutingLogic class.
public ScatterGatherFirstCompletedRoutingLogic ( System.TimeSpan within ) : System
within System.TimeSpan The amount of time to wait for a response.
Résultat System

Select() public méthode

Picks all the provided routees to receive the message.
public Select ( object message, Routee routees ) : Routee
message object The message that is being routed
routees Routee A collection of routees to choose from when receiving the .
Résultat Routee