com
.
twitter
.
inject
.
thrift
ThriftClientFilterChain
Related Doc:
package thrift
class
ThriftClientFilterChain
[
Req <:
ThriftStruct
,
Rep <:
ThriftResponse
[_]
]
extends
Logging
Linear Supertypes
Logging
,
grizzled.slf4j.Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ThriftClientFilterChain
Logging
Logging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ThriftClientFilterChain
(
injector:
Injector
,
statsReceiver:
StatsReceiver
,
clientLabel:
String
,
budget:
Budget
,
method:
ThriftMethod
,
timeoutMultiplier:
Int
,
retryMultiplier:
Int
,
useHighResTimerForRetries:
Boolean
,
andThenService:
AndThenService
)
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
def
andThen
(
service:
Service
[
Req
,
Rep
]
)
:
Service
[
Req
,
Rep
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
backupRequestFilter
(
quantile:
Int
,
clipDuration:
Duration
,
history:
Duration
,
timer:
Timer
=
HashedWheelTimer.Default
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
concurrencyLimit
(
initialPermits:
Int
,
maxWaiters:
Int
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
constantRetry
(
requestTimeout:
Duration
,
shouldRetry:
PartialFunction
[(
Req
,
Try
[
Rep
]),
Boolean
] =
null
,
shouldRetryResponse:
PartialFunction
[
Try
[
Rep
],
Boolean
] =
null
,
start:
Duration
,
retries:
Int
,
retryBudget:
RetryBudget
=
budget.retryBudget
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
debug
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
debug
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
debugFutureResult
[
T
]
(
msg:
String
)
(
func: ⇒
Future
[
T
]
)
:
Future
[
T
]
Attributes
protected
Definition Classes
Logging
def
debugResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
defaultRetryMsg
(
requestAndResponse: (
Req
,
Try
[
Rep
])
,
duration:
Duration
)
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
error
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
error
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
errorResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
exceptionFilter
(
filter:
Filter
[
Req
,
Rep
,
Req
,
Rep
]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
exceptionFilter
[
T <:
Filter
[
Req
,
Rep
,
Req
,
Rep
]
]
(
implicit
arg0:
Manifest
[
T
]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
exponentialRetry
(
requestTimeout:
Duration
,
shouldRetry:
PartialFunction
[(
Req
,
Try
[
Rep
]),
Boolean
] =
null
,
shouldRetryResponse:
PartialFunction
[
Try
[
Rep
],
Boolean
] =
null
,
start:
Duration
,
multiplier:
Int
,
retries:
Int
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
filter
[
T <:
Filter
[
Req
,
Rep
,
Req
,
Rep
]
]
(
implicit
arg0:
Manifest
[
T
]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
filter
(
filter:
Filter
[
Req
,
Rep
,
Req
,
Rep
]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
globalFilter
[
T <:
Filter
[
ThriftStruct
,
ThriftResponse
[_],
ThriftStruct
,
ThriftResponse
[_]]
]
(
implicit
arg0:
Manifest
[
T
]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
globalFilter
(
filter:
Filter
[
ThriftStruct
,
ThriftResponse
[_],
ThriftStruct
,
ThriftResponse
[_]]
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
info
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
info
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
infoResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
isDebugEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isErrorEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isInfoEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isTraceEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isWarnEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
logger
:
grizzled.slf4j.Logger
Attributes
protected
Definition Classes
Logging → Logging
def
loggerName
:
String
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
requestTimeout
(
duration:
Duration
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
retry
(
retryPolicy:
RetryPolicy
[(
Req
,
Try
[
Rep
])]
,
retryMsg: ((
Req
,
Try
[
Rep
]),
Duration
) ⇒
String
=
defaultRetryMsg
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
time
[
T
]
(
formatStr:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
timeout
(
duration:
Duration
)
:
ThriftClientFilterChain
[
Req
,
Rep
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
trace
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
trace
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
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
(
...
)
def
warn
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
warn
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
warnResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
Inherited from
Logging
Inherited from
grizzled.slf4j.Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped