This class contains logic used by a Router to route a message to a Routee determined using tail-chopping. This process has the router select a random routee, then waits an interval before sending to a different randomly chosen routee. 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.
public sealed class TailChopping : RoutingLogic, INoSerializationVerificationNeeded
Constructors| Improve this Doc View Source
TailChopping(IScheduler, TimeSpan, TimeSpan)
Initializes a new instance of the TailChopping class.
public TailChopping(IScheduler scheduler, TimeSpan within, TimeSpan interval)
The IScheduler used to force deadlines.
The time within which at least one response is expected.
The duration after which the next routee will be picked.
Methods| Improve this Doc View Source
Picks all of the provided
routees to receive the
public override Routee Select(object message, Routee routees)
The message that is being routed
A collection of routees used when receiving the
A Akka.Routing.TailChoppingRoutee that receives the