Prepends filter
to the top of the client.
Prepends filter
to the top of the client. That is, after materializing
the client (newClient/newService) filter
will be the first element which
requests flow through. This is a familiar chaining combinator for filters.
Create a thriftmux.MethodBuilder for a given destination.
Create a thriftmux.MethodBuilder for a given destination.
Create a thriftmux.MethodBuilder for a given destination.
Create a thriftmux.MethodBuilder for a given destination.
Produce a com.twitter.finagle.ThriftMux.Client using the provided client ID.
Produce a com.twitter.finagle.ThriftMux.Client with the specified max size of the reusable buffer for thrift responses.
Produce a com.twitter.finagle.ThriftMux.Client with the specified max size of the reusable buffer for thrift responses. If this size is exceeded, the buffer is not reused and a new buffer is allocated for the next thrift response. The default max size is 16Kb.
Max size of the reusable buffer for thrift responses in bytes.
MaxReusableBufferSize will be ignored if TReusableBufferFactory is set.
Produce a com.twitter.finagle.ThriftMux.Client with per-endpoint stats filters
Produce a com.twitter.finagle.ThriftMux.Client using the provided protocolFactory.
Produce a com.twitter.finagle.ThriftMux.Client using the provided stack.
Produce a com.twitter.finagle.ThriftMux.Client with a factory creates new TReusableBuffer, the TReusableBuffer can be shared with other client instance.
Produce a com.twitter.finagle.ThriftMux.Client with a factory creates new TReusableBuffer, the TReusableBuffer can be shared with other client instance. If set, the MaxReusableBufferSize will be ignored.
(Since version ) see corresponding Javadoc for more information.
(Since version 2017-8-16) Use com.twitter.finagle.thrift.RichClientParam
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-20) Use com.twitter.finagle.ThriftRichClient#build
(Since version 2017-11-13) Use com.twitter.finagle.ThriftRichClient#servicePerEndpoint[ServicePerEndpoint]
(Since version 2017-11-13) Use com.twitter.finagle.ThriftRichClient#servicePerEndpoint[ServicePerEndpoint]
A ThriftMux
com.twitter.finagle.Client
.Mux documentation
Thrift documentation
Configuration documentation