C# Класс 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.
Наследование: RoutingLogic
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ScatterGatherFirstCompletedRoutingLogic() публичный Метод

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.
Результат System

Select() публичный Метод

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 .
Результат Routee