Class

roc.Postgresql

Client

Related Doc: package Postgresql

Permalink

case class Client(stack: Stack[ServiceFactory[Request, Result]] = StackClient.newStack, params: Params = ...) extends StdStackClient[Request, Result, Client] with PostgresqlRichClient with Product with Serializable

Implements a Postgresql client in terms of a Finagle Stack Client. The client inherits a wealth of features from Finagle including connection pooling and load balancing.

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

Instance Constructors

  1. new Client(stack: Stack[ServiceFactory[Request, Result]] = StackClient.newStack, params: Params = ...)

    Permalink

Type Members

  1. type In = Packet

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  2. type Out = Packet

    Permalink
    Attributes
    protected
    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 configured[P](psp: (P, Param[P])): Client

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

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  8. def copy1(stack: Stack[ServiceFactory[Request, Result]] = this.stack, params: Params = this.params): Client

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  9. def endpointer: Stackable[ServiceFactory[Request, Result]]

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

    Permalink
    Definition Classes
    AnyRef
  11. def filtered(filter: Filter[Request, Result, Request, Result]): Client

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Client
  19. def newDispatcher(transport: Transport[Packet, Packet]): Service[Request, Result]

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  20. def newRichClient(dest: String): postgresql.Client

    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
    PostgresqlRichClient
  21. def newRichClient(dest: Name, label: String): postgresql.Client

    Permalink

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

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

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

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

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

    Permalink
    Definition Classes
    Client
  25. def newTransporter(): Transporter[Packet, Packet]

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

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

    Permalink
    Definition Classes
    AnyRef
  28. val params: Params

    Permalink
    Definition Classes
    Client → StackClient → Parameterized
  29. val stack: Stack[ServiceFactory[Request, Result]]

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

    Permalink
    Definition Classes
    AnyRef
  31. def transformed(f: (Stack[ServiceFactory[Request, Result]]) ⇒ Stack[ServiceFactory[Request, Result]]): Client

    Permalink
    Definition Classes
    StdStackClient
  32. def transformed(t: Transformer): StackClient[Request, Result]

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

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

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

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

    Permalink
    Definition Classes
    WithClientAdmissionControl
  37. def withDatabase(database: String): Client

    Permalink

    The database name for this Postgresql Client to connect to.

    The database name for this Postgresql Client to connect to.

    database

    the name of the database to connect to

  38. def withExceptionStatsHandler(exceptionStatsHandler: ExceptionStatsHandler): Client

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

    Permalink
    Definition Classes
    CommonParams
  40. def withMonitor(monitor: Monitor): Client

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

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

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

    Permalink
    Definition Classes
    ClientParams
  44. def withRetryBackoff(backoff: Stream[Duration]): Client

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

    Permalink
    Definition Classes
    ClientParams
  46. val withSession: SessionParams[Client]

    Permalink
    Definition Classes
    WithSession
  47. val withSessionQualifier: SessionQualificationParams[Client]

    Permalink
    Definition Classes
    WithSessionQualifier
  48. def withStack(stack: Stack[ServiceFactory[Request, Result]]): Client

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

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

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

    Permalink
    Definition Classes
    WithClientTransport
  52. def withUserAndPasswd(username: String, passwd: String): Client

    Permalink

    The username and password for this Postgresql Client to connect with.

    The username and password for this Postgresql Client to connect with.

    username

    the username for the Postgresql conneciton

    passwd

    the password for the Postgresql conneciton

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[Request, Result]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[Request, Result]

    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 PostgresqlRichClient

Inherited from StdStackClient[Request, Result, Client]

Inherited from WithSessionQualifier[Client]

Inherited from WithSession[Client]

Inherited from WithClientTransport[Client]

Inherited from ClientParams[Client]

Inherited from CommonParams[Client]

Inherited from StackClient[Request, Result]

Inherited from StackBasedClient[Request, Result]

Inherited from Transformable[StackClient[Request, Result]]

Inherited from Parameterized[Client]

Inherited from AnyRef

Inherited from Any

Ungrouped