Class

com.twitter.finagle.Postgres

Client

Related Doc: package Postgres

Permalink

case class Client(stack: Stack[ServiceFactory[PgRequest, PgResponse]] = defaultStack, params: Params = defaultParams) extends StdStackClient[PgRequest, PgResponse, Client] with WithSessionPool[Client] with WithDefaultLoadBalancer[Client] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Client
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WithDefaultLoadBalancer
  7. WithSessionPool
  8. StdStackClient
  9. WithSessionQualifier
  10. WithClientSession
  11. WithClientTransport
  12. WithClientAdmissionControl
  13. ClientParams
  14. CommonParams
  15. StackClient
  16. StackBasedClient
  17. Transformable
  18. Parameterized
  19. Client
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Client(stack: Stack[ServiceFactory[PgRequest, PgResponse]] = defaultStack, params: Params = defaultParams)

    Permalink

Type Members

  1. type In = PgRequest

    Permalink
    Definition Classes
    Client → StdStackClient
  2. type Out = PgResponse

    Permalink
    Definition Classes
    Client → StdStackClient

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def conditionally(bool: Boolean, conf: (Client) ⇒ Client): Client

    Permalink
  7. def configured[P](psp: (P, Param[P])): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  8. def configured[P](p: P)(implicit arg0: Param[P]): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  9. def copy1(stack: Stack[ServiceFactory[PgRequest, PgResponse]], params: Params): Client { ... /* 2 definitions in type refinement */ }

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  10. def database(database: String): Client

    Permalink
  11. def dest(name: Name): Client

    Permalink
  12. def dest(addr: String): Client

    Permalink
  13. def endpointer: Stackable[ServiceFactory[PgRequest, PgResponse]]

    Permalink
    Attributes
    protected
    Definition Classes
    StdStackClient
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def filtered(filter: Filter[PgRequest, PgResponse, PgRequest, PgResponse]): Client

    Permalink
    Definition Classes
    StdStackClient
  16. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def newClient(dest: Name, label0: String): ServiceFactory[PgRequest, PgResponse]

    Permalink
    Definition Classes
    StdStackClient → Client
  21. final def newClient(dest: String, label: String): ServiceFactory[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
  22. final def newClient(dest: String): ServiceFactory[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
  23. def newDispatcher(transport: Transport[In, Out]): Service[PgRequest, PgResponse]

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  24. def newRichClient(addr: Name): PostgresClientImpl

    Permalink
  25. def newRichClient(addr: String): PostgresClientImpl

    Permalink
  26. def newRichClient(): PostgresClientImpl

    Permalink
  27. def newService(dest: Name, label: String): Service[PgRequest, PgResponse]

    Permalink
    Definition Classes
    StdStackClient → Client
  28. final def newService(dest: String, label: String): Service[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
  29. final def newService(dest: String): Service[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
  30. def newTransporter(): Transporter[In, Out]

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. val params: Params

    Permalink
    Definition Classes
    Client → StackClient → Parameterized
  34. val stack: Stack[ServiceFactory[PgRequest, PgResponse]]

    Permalink
    Definition Classes
    Client → StackClient
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def transformed(f: (Stack[ServiceFactory[PgRequest, PgResponse]]) ⇒ Stack[ServiceFactory[PgRequest, PgResponse]]): Client

    Permalink
    Definition Classes
    StdStackClient
  37. def transformed(t: Transformer): StackClient[PgRequest, PgResponse]

    Permalink
    Definition Classes
    StackClient → Transformable
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. val withAdmissionControl: ClientAdmissionControlParams[Client]

    Permalink
    Definition Classes
    WithClientAdmissionControl
  42. def withBinaryParams(enable: Boolean = true): Client

    Permalink
  43. def withBinaryResults(enable: Boolean = true): Client

    Permalink
  44. def withCredentials(user: String): Client

    Permalink
  45. def withCredentials(user: String, password: String): Client

    Permalink
  46. def withCredentials(user: String, password: Option[String]): Client

    Permalink
  47. def withCustomReceiveFunctions(receiveFunctions: PartialFunction[String, ValueDecoder[_]]): Client

    Permalink
  48. def withCustomTypes(customTypes: Map[Int, TypeSpecifier]): Client

    Permalink
  49. def withDefaultTypes(): Client

    Permalink
  50. def withExceptionStatsHandler(exceptionStatsHandler: ExceptionStatsHandler): Client

    Permalink
    Definition Classes
    CommonParams
  51. def withLabel(label: String): Client

    Permalink
    Definition Classes
    CommonParams
  52. val withLoadBalancer: DefaultLoadBalancingParams[Client]

    Permalink
    Definition Classes
    WithDefaultLoadBalancer
  53. def withMonitor(monitor: Monitor): Client

    Permalink
    Definition Classes
    CommonParams
  54. def withParams(params: Params): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  55. def withRequestTimeout(timeout: Duration): Client

    Permalink
    Definition Classes
    CommonParams
  56. def withResponseClassifier(responseClassifier: ResponseClassifier): Client

    Permalink
    Definition Classes
    CommonParams
  57. def withRetryBackoff(backoff: Stream[Duration]): Client

    Permalink
    Definition Classes
    ClientParams
  58. def withRetryBudget(budget: RetryBudget): Client

    Permalink
    Definition Classes
    ClientParams
  59. def withRetryPolicy(policy: RetryPolicy[Try[Nothing]]): Client

    Permalink
  60. val withSession: ClientSessionParams[Client]

    Permalink
    Definition Classes
    WithClientSession
  61. val withSessionPool: SessionPoolingParams[Client]

    Permalink
    Definition Classes
    WithSessionPool
  62. val withSessionQualifier: SessionQualificationParams[Client]

    Permalink
    Definition Classes
    WithSessionQualifier
  63. def withStack(stack: Stack[ServiceFactory[PgRequest, PgResponse]]): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient
  64. def withStatsReceiver(statsReceiver: StatsReceiver): Client

    Permalink
    Definition Classes
    CommonParams
  65. def withTracer(tracer: Tracer): Client

    Permalink
    Definition Classes
    CommonParams
  66. val withTransport: ClientTransportParams[Client]

    Permalink
    Definition Classes
    WithClientTransport

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[PgRequest, PgResponse]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithSessionPool[Client]

Inherited from WithSessionQualifier[Client]

Inherited from WithClientSession[Client]

Inherited from WithClientTransport[Client]

Inherited from ClientParams[Client]

Inherited from CommonParams[Client]

Inherited from StackClient[PgRequest, PgResponse]

Inherited from Transformable[StackClient[PgRequest, PgResponse]]

Inherited from Parameterized[Client]

Inherited from AnyRef

Inherited from Any

Ungrouped