Constructs a RichClientParam from the supply parameters.
Constructs a RichClientParam from the supply parameters.
A TProtocolFactory
creates protocol objects from transports
For client stats, (default: empty string)
The max size of a reusable buffer for the thrift response
A reusable buffer for the thrift request/response, if passed maxThriftBufferSize is ignored
StatsReceiver for recording metrics
Whether to record per-endpoint stats, (default: false). By enabling this, the specific Thrift Exceptions can be recorded. See PerEndpoint StatsFilter
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
The max size of a reusable buffer for the thrift response
TReusableBuffer