Class/Object

com.twitter.finagle.mysql

ClientDispatcher

Related Docs: object ClientDispatcher | package mysql

Permalink

class ClientDispatcher extends GenSerialClientDispatcher[Request, Result, Packet, Packet]

A ClientDispatcher that implements the mysql client/server protocol. For a detailed exposition of the client/server protocol refer to: http://dev.mysql.com/doc/internals/en/client-server-protocol.html

Note, the mysql protocol does not support any form of multiplexing so requests are dispatched serially and concurrent requests are queued.

Linear Supertypes
GenSerialClientDispatcher[Request, Result, Packet, Packet], Service[Request, Result], Closable, (Request) ⇒ Future[Result], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientDispatcher
  2. GenSerialClientDispatcher
  3. Service
  4. Closable
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClientDispatcher(trans: Transport[Packet, Packet], handshake: (HandshakeInit) ⇒ Try[HandshakeResponse])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Future[Result]) ⇒ A): (Request) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(req: Request): Future[Result]

    Permalink
    Definition Classes
    ClientDispatcher → GenSerialClientDispatcher → Service → Function1
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    ClientDispatcher → GenSerialClientDispatcher → Service → Closable
  9. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  10. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  11. def compose[A](g: (A) ⇒ Request): (A) ⇒ Future[Result]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def dispatch(req: Request, rep: Promise[Result]): Future[Unit]

    Permalink

    Returns a Future that represents the result of an exchange between the client and server.

    Returns a Future that represents the result of an exchange between the client and server. An exchange does not necessarily entail a single write and read operation. Thus, the result promise is decoupled from the promise that signals a complete exchange. This leaves room for implementing streaming results.

    Attributes
    protected
    Definition Classes
    ClientDispatcher → GenSerialClientDispatcher
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isAvailable: Boolean

    Permalink
    Definition Classes
    Service
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def map[Req1](f: (Req1) ⇒ Request): Service[Req1, Result]

    Permalink
    Definition Classes
    Service
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def status: Status

    Permalink
    Definition Classes
    GenSerialClientDispatcher → Service
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GenSerialClientDispatcher[Request, Result, Packet, Packet]

Inherited from Service[Request, Result]

Inherited from Closable

Inherited from (Request) ⇒ Future[Result]

Inherited from AnyRef

Inherited from Any

Ungrouped