Instance Constructors
-
Type Members
-
class
MultiplexedThriftClient extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
build[ThriftServiceType](name: Name, label: String, cls: Class[_], clientParam: RichClientParam, service: Service[ThriftClientRequest, Array[Byte]]): ThriftServiceType
-
def
build[ThriftServiceType](name: Name, label: String, cls: Class[_]): ThriftServiceType
-
def
build[ThriftServiceType](dest: Name, label: String)(implicit arg0: ClassTag[ThriftServiceType]): ThriftServiceType
-
def
build[ThriftServiceType](dest: String, label: String)(implicit arg0: ClassTag[ThriftServiceType]): ThriftServiceType
-
def
build[ThriftServiceType](dest: String)(implicit arg0: ClassTag[ThriftServiceType]): ThriftServiceType
-
def
build[ThriftServiceType](dest: String, label: String, cls: Class[_]): ThriftServiceType
-
def
build[ThriftServiceType](dest: String, cls: Class[_]): ThriftServiceType
-
-
def
clone(): AnyRef
-
def
configured[P](psp: (P, Param[P])): Client
-
def
configured[P](p: P)(implicit sp: Param[P]): Client
-
def
configuredParams(newParams: Params): Client
-
lazy val
defaultClientName: String
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
def
methodBuilder(dest: String): MethodBuilder
-
def
multiplex[T](dest: String, label: String)(build: (MultiplexedThriftClient) ⇒ T): T
-
def
multiplex[T](dest: Name, label: String)(build: (MultiplexedThriftClient) ⇒ T): T
-
-
-
-
-
-
-
-
-
def
newServicePerEndpoint[ServicePerEndpoint <: Filterable[ServicePerEndpoint]](service: Service[ThriftClientRequest, Array[Byte]], label: String)(implicit builder: ServicePerEndpointBuilder[ServicePerEndpoint]): ServicePerEndpoint
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
params: Params
-
def
servicePerEndpoint[ServicePerEndpoint <: Filterable[ServicePerEndpoint]](dest: Name, label: String)(implicit builder: ServicePerEndpointBuilder[ServicePerEndpoint]): ServicePerEndpoint
-
def
servicePerEndpoint[ServicePerEndpoint <: Filterable[ServicePerEndpoint]](dest: String, label: String)(implicit builder: ServicePerEndpointBuilder[ServicePerEndpoint]): ServicePerEndpoint
-
-
def
stats: StatsReceiver
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
transformed(t: Transformer): Client
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
withClientId(clientId: ClientId): Client
-
def
withExceptionStatsHandler(exceptionStatsHandler: ExceptionStatsHandler): Client
-
def
withExecutionOffloaded(executor: ExecutorService): Client
-
def
withExecutionOffloaded(pool: FuturePool): Client
-
def
withLabel(label: String): Client
-
def
withLabels(keywords: String*): Client
-
-
def
withMaxReusableBufferSize(size: Int): Client
-
def
withMonitor(monitor: Monitor): Client
-
def
withNoOpportunisticTls: Client
-
def
withOpportunisticTls(level: Level): Client
-
def
withParams(ps: Params): Client
-
def
withPerEndpointStats: Client
-
def
withProtocolFactory(pf: TProtocolFactory): Client
-
def
withRequestTimeout(timeout: Duration): Client
-
def
withRequestTimeout(timeout: Tunable[Duration]): Client
-
def
withResponseClassifier(responseClassifier: ResponseClassifier): Client
-
def
withRetryBackoff(backoff: Stream[Duration]): Client
-
-
-
-
-
-
def
withStatsReceiver(statsReceiver: StatsReceiver): Client
-
def
withTracer(tracer: Tracer): Client
-
Deprecated Value Members
-
def
newIface[Iface](name: Name, label: String, cls: Class[_], protocolFactory: TProtocolFactory, service: Service[ThriftClientRequest, Array[Byte]]): Iface
-
-
def
newIface[Iface](name: Name, label: String, cls: Class[_]): Iface
-
def
newIface[Iface](dest: Name, label: String)(implicit arg0: ClassTag[Iface]): Iface
-
def
newIface[Iface](dest: String, label: String)(implicit arg0: ClassTag[Iface]): Iface
-
def
newIface[Iface](dest: String)(implicit arg0: ClassTag[Iface]): Iface
-
def
newIface[Iface](dest: String, label: String, cls: Class[_]): Iface
-
def
newIface[Iface](dest: String, cls: Class[_]): Iface
-
def
newServiceIface[ServiceIface <: Filterable[ServiceIface]](dest: Name, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface
-
def
newServiceIface[ServiceIface <: Filterable[ServiceIface]](dest: String, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface
Inherited from Serializable
Inherited from Transformable[Client]
Inherited from Parameterized[Client]
A ThriftMux
com.twitter.finagle.Client
.Mux documentation
Thrift documentation
Configuration documentation