Packages

package dispatch

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ClientDispatcher[Req, Rep, In, Out] extends Service[Req, Rep]

    Dispatches requests.

    Dispatches requests.

    Note

    this construct makes no guarantees with regard to concurrent dispatches. For implementations that require serial dispatch see the GenSerialClientDispatcher.

  2. abstract class GenPipeliningDispatcher[Req, Rep, In, Out, T] extends GenSerialClientDispatcher[Req, Rep, In, Out]

    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.

    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.

  3. abstract class GenSerialClientDispatcher[Req, Rep, In, Out] extends Service[Req, Rep]

    Dispatches requests one at a time; concurrent requests are queued.

  4. abstract class GenSerialServerDispatcher[Req, Rep, In, Out] extends Closable

    A generic version of SerialServerDispatcher, allowing the implementor to furnish custom dispatchers & handlers.

  5. class PipeliningDispatcher[Req, Rep] extends GenPipeliningDispatcher[Req, Rep, Req, Rep, Unit]
  6. class SerialClientDispatcher[Req, Rep] extends GenSerialClientDispatcher[Req, Rep, Req, Rep]

  7. class SerialServerDispatcher[Req, Rep] extends GenSerialServerDispatcher[Req, Rep, Rep, Req]

    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.

  8. case class StalledPipelineTimeout(timeout: Duration) extends Product with Serializable

    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).

Ungrouped