Packages

p

com.twitter

finagle

package finagle

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. finagle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait MysqlRichClient extends AnyRef

    Supplements a com.twitter.finagle.Client with convenient builder methods for constructing a mysql client.

  2. case class ServerErrorMonitor(suppressedCodes: Seq[Short]) extends Monitor with Product with Serializable

    ServerErrorMonitor is a com.twitter.util.Monitor that specifically handles mysql ServerErrors in a less verbose way then com.twitter.finagle.util.DefaultMonitor.

    ServerErrorMonitor is a com.twitter.util.Monitor that specifically handles mysql ServerErrors in a less verbose way then com.twitter.finagle.util.DefaultMonitor.

    By default it will log an info statement with details about the ServerError and encourage end users to explicitly handle or rescue the ServerError in application code, and then suppress the logging.

    Specific error codes can be suppressed, with the intention being that this happens when application code is explicitly dealing with that ServerError variant.

    Example:
    1. val client = Mysql.client
        .withMonitor(ServerErrorMonitor(Seq(<code>)))

Value Members

  1. object Mysql extends Client[Request, Result] with MysqlRichClient

    Example:
    1. val client = Mysql.client
        .withCredentials("<username>", "<password>")
        .withDatabase("<db>")
        .newRichClient("inet!localhost:3306")

Inherited from AnyRef

Inherited from Any

Ungrouped