com
.
twitter
.
finagle
.
Postgres
Client
Related Doc:
package Postgres
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
Serializable
,
Serializable
,
Product
,
Equals
,
WithDefaultLoadBalancer
[
Client
],
WithSessionPool
[
Client
],
StdStackClient
[
PgRequest
,
PgResponse
,
Client
],
WithSessionQualifier
[
Client
],
WithClientSession
[
Client
],
WithClientTransport
[
Client
],
WithClientAdmissionControl
[
Client
],
ClientParams
[
Client
],
CommonParams
[
Client
],
StackClient
[
PgRequest
,
PgResponse
],
StackBasedClient
[
PgRequest
,
PgResponse
],
Transformable
[
StackClient
[
PgRequest
,
PgResponse
]],
Parameterized
[
Client
],
finagle.Client
[
PgRequest
,
PgResponse
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Client
Serializable
Serializable
Product
Equals
WithDefaultLoadBalancer
WithSessionPool
StdStackClient
WithSessionQualifier
WithClientSession
WithClientTransport
WithClientAdmissionControl
ClientParams
CommonParams
StackClient
StackBasedClient
Transformable
Parameterized
Client
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Client
(
stack:
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]] =
defaultStack
,
params:
Params
=
defaultParams
)
Type Members
type
In
=
PgRequest
Definition Classes
Client
→ StdStackClient
type
Out
=
PgResponse
Definition Classes
Client
→ StdStackClient
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
conditionally
(
bool:
Boolean
,
conf: (
Client
) ⇒
Client
)
:
Client
def
configured
[
P
]
(
psp: (
P
,
Param
[
P
])
)
:
Client
Definition Classes
StdStackClient → StackClient → Parameterized
def
configured
[
P
]
(
p:
P
)
(
implicit
arg0:
Param
[
P
]
)
:
Client
Definition Classes
StdStackClient → StackClient → Parameterized
def
copy1
(
stack:
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]]
,
params:
Params
)
:
Client
{ ... /* 2 definitions in type refinement */ }
Attributes
protected
Definition Classes
Client
→ StdStackClient
def
database
(
database:
String
)
:
Client
def
dest
(
name:
Name
)
:
Client
def
dest
(
addr:
String
)
:
Client
def
endpointer
:
Stackable
[
ServiceFactory
[
PgRequest
,
PgResponse
]]
Attributes
protected
Definition Classes
StdStackClient
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filtered
(
filter:
Filter
[
PgRequest
,
PgResponse
,
PgRequest
,
PgResponse
]
)
:
Client
Definition Classes
StdStackClient
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newClient
(
dest:
Name
,
label0:
String
)
:
ServiceFactory
[
PgRequest
,
PgResponse
]
Definition Classes
StdStackClient → Client
final
def
newClient
(
dest:
String
,
label:
String
)
:
ServiceFactory
[
PgRequest
,
PgResponse
]
Definition Classes
Client
final
def
newClient
(
dest:
String
)
:
ServiceFactory
[
PgRequest
,
PgResponse
]
Definition Classes
Client
def
newDispatcher
(
transport:
Transport
[
In
,
Out
]
)
:
Service
[
PgRequest
,
PgResponse
]
Attributes
protected
Definition Classes
Client
→ StdStackClient
def
newRichClient
(
addr:
Name
)
:
PostgresClientImpl
def
newRichClient
(
addr:
String
)
:
PostgresClientImpl
def
newRichClient
()
:
PostgresClientImpl
def
newService
(
dest:
Name
,
label:
String
)
:
Service
[
PgRequest
,
PgResponse
]
Definition Classes
StdStackClient → Client
final
def
newService
(
dest:
String
,
label:
String
)
:
Service
[
PgRequest
,
PgResponse
]
Definition Classes
Client
final
def
newService
(
dest:
String
)
:
Service
[
PgRequest
,
PgResponse
]
Definition Classes
Client
def
newTransporter
()
:
Transporter
[
In
,
Out
]
Attributes
protected
Definition Classes
Client
→ StdStackClient
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
params
:
Params
Definition Classes
Client
→ StackClient → Parameterized
val
stack
:
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]]
Definition Classes
Client
→ StackClient
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
transformed
(
f: (
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]]) ⇒
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]]
)
:
Client
Definition Classes
StdStackClient
def
transformed
(
t:
Transformer
)
:
StackClient
[
PgRequest
,
PgResponse
]
Definition Classes
StackClient → Transformable
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
withAdmissionControl
:
ClientAdmissionControlParams
[
Client
]
Definition Classes
WithClientAdmissionControl
def
withBinaryParams
(
enable:
Boolean
=
true
)
:
Client
def
withBinaryResults
(
enable:
Boolean
=
true
)
:
Client
def
withCredentials
(
user:
String
)
:
Client
def
withCredentials
(
user:
String
,
password:
String
)
:
Client
def
withCredentials
(
user:
String
,
password:
Option
[
String
]
)
:
Client
def
withCustomReceiveFunctions
(
receiveFunctions:
PartialFunction
[
String
,
ValueDecoder
[_]]
)
:
Client
def
withCustomTypes
(
customTypes:
Map
[
Int
,
TypeSpecifier
]
)
:
Client
def
withDefaultTypes
()
:
Client
def
withExceptionStatsHandler
(
exceptionStatsHandler:
ExceptionStatsHandler
)
:
Client
Definition Classes
CommonParams
def
withLabel
(
label:
String
)
:
Client
Definition Classes
CommonParams
val
withLoadBalancer
:
DefaultLoadBalancingParams
[
Client
]
Definition Classes
WithDefaultLoadBalancer
def
withMonitor
(
monitor:
Monitor
)
:
Client
Definition Classes
CommonParams
def
withParams
(
params:
Params
)
:
Client
Definition Classes
StdStackClient → StackClient → Parameterized
def
withRequestTimeout
(
timeout:
Duration
)
:
Client
Definition Classes
CommonParams
def
withResponseClassifier
(
responseClassifier:
ResponseClassifier
)
:
Client
Definition Classes
CommonParams
def
withRetryBackoff
(
backoff:
Stream
[
Duration
]
)
:
Client
Definition Classes
ClientParams
def
withRetryBudget
(
budget:
RetryBudget
)
:
Client
Definition Classes
ClientParams
def
withRetryPolicy
(
policy:
RetryPolicy
[
Try
[
Nothing
]]
)
:
Client
val
withSession
:
ClientSessionParams
[
Client
]
Definition Classes
WithClientSession
val
withSessionPool
:
SessionPoolingParams
[
Client
]
Definition Classes
WithSessionPool
val
withSessionQualifier
:
SessionQualificationParams
[
Client
]
Definition Classes
WithSessionQualifier
def
withStack
(
stack:
Stack
[
ServiceFactory
[
PgRequest
,
PgResponse
]]
)
:
Client
Definition Classes
StdStackClient → StackClient
def
withStatsReceiver
(
statsReceiver:
StatsReceiver
)
:
Client
Definition Classes
CommonParams
def
withTracer
(
tracer:
Tracer
)
:
Client
Definition Classes
CommonParams
val
withTransport
:
ClientTransportParams
[
Client
]
Definition Classes
WithClientTransport
Deprecated Value Members
final
def
newClient
(
dest:
Group
[
SocketAddress
]
)
:
ServiceFactory
[
PgRequest
,
PgResponse
]
Definition Classes
Client
Annotations
@deprecated
Deprecated
(Since version 6.7.x)
Use destination names
final
def
newService
(
dest:
Group
[
SocketAddress
]
)
:
Service
[
PgRequest
,
PgResponse
]
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
WithDefaultLoadBalancer
[
Client
]
Inherited from
WithSessionPool
[
Client
]
Inherited from
StdStackClient
[
PgRequest
,
PgResponse
,
Client
]
Inherited from
WithSessionQualifier
[
Client
]
Inherited from
WithClientSession
[
Client
]
Inherited from
WithClientTransport
[
Client
]
Inherited from
WithClientAdmissionControl
[
Client
]
Inherited from
ClientParams
[
Client
]
Inherited from
CommonParams
[
Client
]
Inherited from
StackClient
[
PgRequest
,
PgResponse
]
Inherited from
StackBasedClient
[
PgRequest
,
PgResponse
]
Inherited from
Transformable
[
StackClient
[
PgRequest
,
PgResponse
]]
Inherited from
Parameterized
[
Client
]
Inherited from
finagle.Client
[
PgRequest
,
PgResponse
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped