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

A single point routee that routes to randomly chosen routees at a given interval. Accepts the first response.
Наследование: Routee
Показать файл Открыть проект

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

Метод Описание
Send ( object message, IActorRef sender ) : void

Sends a message to the collection of routees.

TailChoppingRoutee ( Routee routees, System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System

Initializes a new instance of the TailChoppingRoutee class.

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

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

Sends a message to the collection of routees.
public Send ( object message, IActorRef sender ) : void
message object The message that is being sent.
sender IActorRef The actor sending the message.
Результат void

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

Initializes a new instance of the TailChoppingRoutee class.
public TailChoppingRoutee ( Routee routees, System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System
routees Routee The list of routees that the router uses to send messages.
within System.TimeSpan The time within which at least one response is expected.
interval System.TimeSpan The duration after which the next routee will be picked.
scheduler IScheduler The used to force deadlines.
Результат System