object RichClientParam extends Serializable
- Alphabetic
- By Inheritance
- RichClientParam
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 apply(): RichClientParam
- def apply(protocolFactory: TProtocolFactory): RichClientParam
- def apply(protocolFactory: TProtocolFactory, responseClassifier: ResponseClassifier): RichClientParam
- def apply(protocolFactory: TProtocolFactory, maxThriftBufferSize: Int, responseClassifier: ResponseClassifier): RichClientParam
- def apply(protocolFactory: TProtocolFactory, serviceName: String, maxThriftBufferSize: Int, responseClassifier: ResponseClassifier, clientStats: StatsReceiver): RichClientParam
-
def
apply(protocolFactory: TProtocolFactory = Thrift.param.protocolFactory, serviceName: String = "", maxThriftBufferSize: Int = Thrift.param.maxThriftBufferSize, thriftReusableBufferFactory: () ⇒ TReusableBuffer = ..., responseClassifier: ResponseClassifier = ResponseClassifier.Default, clientStats: StatsReceiver = ClientStatsReceiver, perEndpointStats: Boolean = false): RichClientParam
Constructs a RichClientParam from the supply parameters.
Constructs a RichClientParam from the supply parameters.
- protocolFactory
A
TProtocolFactorycreates protocol objects from transports- serviceName
For client stats, (default: empty string)
- maxThriftBufferSize
The max size of a reusable buffer for the thrift response
- thriftReusableBufferFactory
A reusable buffer for the thrift request/response, if passed maxThriftBufferSize is ignored
- responseClassifier
- clientStats
StatsReceiver for recording metrics
- perEndpointStats
Whether to record per-endpoint stats, (default: false). By enabling this, the specific Thrift Exceptions can be recorded. See PerEndpoint StatsFilter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createThriftReusableBuffer(thriftBufferSize: Int = Thrift.param.maxThriftBufferSize)(): TReusableBuffer
Creates a new TReusableBuffer.
Creates a new TReusableBuffer. The function can be used to create a partially applied function which in turn can be passed as parameter thriftReusableBufferFactory to RichClientParam ctor
- thriftBufferSize
The max size of a reusable buffer for the thrift response
- returns
TReusableBuffer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... ) @native()