com.twitter.finagle

dispatch

package dispatch

Visibility
  1. Public
  2. All

Type Members

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

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

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

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

  3. class PipeliningDispatcher[Req, Rep] extends GenSerialClientDispatcher[Req, Rep, Req, Rep]

    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 PipeliningDispatcher#apply are masked, and will ignore interrupts. This ensures that interrupting a Future in one request won't change the result of another request.

  4. class SerialClientDispatcher[Req, Rep] extends GenSerialClientDispatcher[Req, Rep, Req, Rep]

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

Ungrouped