A generic pipelining dispatcher, which assumes that servers will respect normal pipelining semantics, and that replies will be sent in the same order as requests were sent.
Dispatches requests one at a time; concurrent requests are queued.
A generic version of SerialServerDispatcher, allowing the implementor to furnish custom dispatchers & handlers.
Dispatch requests from transport one at a time, queueing concurrent requests.
Dispatch requests from transport one at a time, queueing concurrent requests.
Transport errors are considered fatal; the service will be released after any error.
A class eligible for configuring a timeout com.twitter.util.Duration to consider a pipeline to have stalled (stopped making progress after an initial interruption).
A generic pipelining dispatcher, which assumes that servers will respect normal pipelining semantics, and that replies will be sent in the same order as requests were sent. Exploits GenSerialClientDispatcher to serialize requests.
Because many requests might be sharing the same transport, Futures returned by GenPipeliningDispatcher#apply are masked, and will only propagate the interrupt if the future doesn't return after a configurable amount of time after the interruption. This ensures that interrupting a Future in one request won't change the result of another request unless the connection is stuck, and does not look like it will make progress. Use StalledPipelineTimeout to configure this timeout.