object ClientFunction
- Alphabetic
- By Inheritance
- ClientFunction
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- def serde[T](clientFuncNameForWire: String, replyDeserializer: (Array[Byte]) => Try[T], inputArgs: ThriftStruct, serviceName: String, service: Service[ThriftClientRequest, Array[Byte]], responseClassifier: PartialFunction[ReqRep, ResponseClass], tlReusableBuffer: TReusableBuffer, protocolFactory: TProtocolFactory, failuresScope: StatsReceiver, requestCounter: Counter, successCounter: Counter, failuresCounter: Counter): Future[T]
Serialize a given request
inputArgs
and send the serialized request over the wire to a finagle serviceservice
, and classify the deserialized response Upon receiving it from the server.Serialize a given request
inputArgs
and send the serialized request over the wire to a finagle serviceservice
, and classify the deserialized response Upon receiving it from the server.- T
The type of deserialized response
- clientFuncNameForWire
the over the wire function name
- replyDeserializer
the deserializer used to create a ClientDeserializeCtx
- inputArgs
the request to serialize
- serviceName
used to exception metrics scoping
- service
the service to execute the serialized request, and return a deserialized response
- responseClassifier
classify the deserialized response
- tlReusableBuffer
a buffer to call encodeRequest
- protocolFactory
a TProtocolFactory to call encodeRequest
- failuresScope
a counter scope to report exceptions
- requestCounter
a counter to report number of request
- successCounter
a counter to report number of successful request
- failuresCounter
a counter to report number of failed request
- Note
This method is intended to be invoked from Scrooge generated finagle client, typical scrooge users should not need to call it directly.
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()