Object

com.twitter.finagle

Mysql

Related Doc: package finagle

Permalink

object Mysql extends Client[Request, Result] with MysqlRichClient

Example:
  1. val client = Mysql.client
      .withCredentials("", "")
      .withDatabase("")
      .newRichClient("inet!localhost:3306")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mysql
  2. MysqlRichClient
  3. Client
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Client(stack: Stack[ServiceFactory[Request, Result]] = Client.stack, params: Params = Client.params) extends StdStackClient[Request, Result, Client] with WithSessionPool[Client] with WithDefaultLoadBalancer[Client] with MysqlRichClient with Product with Serializable

    Permalink

    Implements a mysql client in terms of a com.twitter.finagle.client.StackClient.

    Implements a mysql client in terms of a com.twitter.finagle.client.StackClient. The client inherits a wealth of features from finagle including connection pooling and load balancing.

    Additionally, this class provides methods for constructing a rich client which exposes a rich mysql api.

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. object Client extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def client: Client

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  15. def newClient(dest: Name, label: String): ServiceFactory[Request, Result]

    Permalink
    Definition Classes
    Mysql → Client
  16. final def newClient(dest: String, label: String): ServiceFactory[Request, Result]

    Permalink
    Definition Classes
    Client
  17. final def newClient(dest: String): ServiceFactory[Request, Result]

    Permalink
    Definition Classes
    Client
  18. def newRichClient(dest: String): mysql.Client with Transactions

    Permalink

    Creates a new RichClient connected to the logical destination described by dest.

    Creates a new RichClient connected to the logical destination described by dest.

    Definition Classes
    MysqlRichClient
  19. def newRichClient(dest: Name, label: String): mysql.Client with Transactions

    Permalink

    Creates a new RichClient connected to the logical destination described by dest with the assigned label.

    Creates a new RichClient connected to the logical destination described by dest with the assigned label. The label is used to scope client stats.

    Definition Classes
    MysqlRichClient
  20. def newService(dest: Name, label: String): Service[Request, Result]

    Permalink
    Definition Classes
    Mysql → Client
  21. final def newService(dest: String, label: String): Service[Request, Result]

    Permalink
    Definition Classes
    Client
  22. final def newService(dest: String): Service[Request, Result]

    Permalink
    Definition Classes
    Client
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. object param

    Permalink
  26. def richClientStatsReceiver: StatsReceiver

    Permalink
    Definition Classes
    MysqlRichClient
  27. val supportUnsigned: Boolean

    Permalink

    Whether the client supports unsigned integer fields

    Whether the client supports unsigned integer fields

    Attributes
    protected
    Definition Classes
    MysqlMysqlRichClient
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from MysqlRichClient

Inherited from finagle.Client[Request, Result]

Inherited from AnyRef

Inherited from Any

Ungrouped