C# 클래스 Akka.Routing.TailChoppingRoutingLogic

The routing logic for the TailChoppingRouter. This router will send a message to a randomly chosen routee, and after a delay, send to a different randomly chosen routee. The first response is forwarded, and all other responses are discarded.
상속: RoutingLogic
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
Select ( object message, Routee routees ) : Routee

Picks all of the provided routees to receive the message.

TailChoppingRoutingLogic ( System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System

Initializes a new instance of the TailChoppingRoutingLogic class.

메소드 상세

Select() 공개 메소드

Picks all of 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 used when receiving the .
리턴 Routee

TailChoppingRoutingLogic() 공개 메소드

Initializes a new instance of the TailChoppingRoutingLogic class.
public TailChoppingRoutingLogic ( System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System
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