C# Класс Akka.Routing.RoundRobinRoutingLogic

This class contains logic used by a Router to route a message to a Routee determined using round-robin. This process has the router select from a list of routees in sequential order. When the list has been exhausted, the router iterates again from the beginning of the list. For concurrent calls, round robin is just a best effort.
Наследование: RoutingLogic
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RoundRobinRoutingLogic ( ) : System.Collections.Generic

Initializes a new instance of the RoundRobinRoutingLogic class.

RoundRobinRoutingLogic ( int next ) : System.Collections.Generic

Initializes a new instance of the RoundRobinRoutingLogic class.

Select ( object message, Routee routees ) : Routee

Picks the next Routee in the collection to receive the message.

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

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

Initializes a new instance of the RoundRobinRoutingLogic class.
public RoundRobinRoutingLogic ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Initializes a new instance of the RoundRobinRoutingLogic class.
public RoundRobinRoutingLogic ( int next ) : System.Collections.Generic
next int The index to use when starting the selection process. Note that it will start at (next + 1).
Результат System.Collections.Generic

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

Picks the next Routee in the collection 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