Object

com.twitter.finagle

ThriftMuxClient

Related Doc: package finagle

Permalink

object ThriftMuxClient extends ThriftMuxClientLike

A client for thrift served over com.twitter.finagle.mux

$clientExample

Annotations
@deprecated
Deprecated

(Since version 7.0.0) Use object ThriftMux

Linear Supertypes
ThriftMuxClientLike, ThriftRichClient, StackBasedClient[ThriftClientRequest, Array[Byte]], Transformable[ThriftMuxClientLike], Parameterized[ThriftMuxClientLike], Client[ThriftClientRequest, Array[Byte]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThriftMuxClient
  2. ThriftMuxClientLike
  3. ThriftRichClient
  4. StackBasedClient
  5. Transformable
  6. Parameterized
  7. Client
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(params: Params): Client[ThriftClientRequest, Array[Byte]]

    Permalink

    Create a new ThriftMuxClientLike with params used to configure the muxer.

    Create a new ThriftMuxClientLike with params used to configure the muxer. This makes ThriftMuxClientLike compatible with the legacy com.twitter.finagle.builder.ClientBuilder. However, keep in mind that many of the ClientBuilder parameters are not applicable to the muxer.

    Definition Classes
    ThriftMuxClientLike
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def configured[P](psp: (P, Param[P])): ThriftMuxClientLike

    Permalink
    Definition Classes
    ThriftMuxClientLike → Parameterized
  8. def configured[P](p: P)(implicit arg0: Param[P]): ThriftMuxClientLike

    Permalink

    Create a new ThriftMuxClientLike with p added to the parameters used to configure the muxer.

    Create a new ThriftMuxClientLike with p added to the parameters used to configure the muxer.

    Definition Classes
    ThriftMuxClientLike → Parameterized
  9. lazy val defaultClientName: String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get(): ThriftMuxClientLike

    Permalink

    Used for Java access.

    Used for Java access.

    Definition Classes
    ThriftMuxClientLike
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def newClient(dest: Name, label: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    ThriftMuxClientLike → Client
  19. final def newClient(dest: String, label: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
  20. final def newClient(dest: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
  21. def newIface[Iface](name: Name, label: String, cls: Class[_]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  22. def newIface[Iface](dest: Name, label: String)(implicit arg0: ClassTag[Iface]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  23. def newIface[Iface](dest: String, label: String)(implicit arg0: ClassTag[Iface]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  24. def newIface[Iface](dest: String)(implicit arg0: ClassTag[Iface]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  25. def newIface[Iface](dest: String, label: String, cls: Class[_]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  26. def newIface[Iface](dest: String, cls: Class[_]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
  27. def newMethodIface[ServiceIface, FutureIface](serviceIface: ServiceIface)(implicit builder: MethodIfaceBuilder[ServiceIface, FutureIface]): FutureIface

    Permalink
    Definition Classes
    ThriftRichClient
  28. def newService(dest: Name, label: String): Service[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    ThriftMuxClientLike → Client
  29. final def newService(dest: String, label: String): Service[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
  30. final def newService(dest: String): Service[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
  31. def newServiceIface[ServiceIface](dest: Name, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Permalink
    Definition Classes
    ThriftRichClient
  32. def newServiceIface[ServiceIface](dest: String, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Permalink
    Definition Classes
    ThriftRichClient
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def params: Params

    Permalink

    The com.twitter.finagle.Stack.Params used to configure the stack.

    The com.twitter.finagle.Stack.Params used to configure the stack.

    Definition Classes
    ThriftMuxClientLike → ThriftRichClient → Parameterized
  36. val protocolFactory: TProtocolFactory

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  37. def stack: Stack[ServiceFactory[Request, Response]]

    Permalink

    The com.twitter.finagle.ServiceFactory stack that requests are dispatched through.

    The com.twitter.finagle.ServiceFactory stack that requests are dispatched through.

    Definition Classes
    ThriftMuxClientLike
  38. lazy val stats: StatsReceiver

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. def transformed(t: Transformer): ThriftMuxClientLike

    Permalink
    Definition Classes
    ThriftMuxClientLike → Transformable
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def withClientId(clientId: ClientId): ThriftMuxClientLike

    Permalink

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided client ID.

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided client ID.

    Definition Classes
    ThriftMuxClientLike
  46. def withParams(ps: Params): ThriftMuxClientLike

    Permalink
    Definition Classes
    ThriftMuxClientLike → Parameterized
  47. def withProtocolFactory(pf: TProtocolFactory): ThriftMuxClientLike

    Permalink

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided protocolFactory.

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided protocolFactory.

    Definition Classes
    ThriftMuxClientLike

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. def newIface[Iface](group: Group[SocketAddress], cls: Class[_]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)

  3. def newIface[Iface](group: Group[SocketAddress])(implicit arg0: ClassTag[Iface]): Iface

    Permalink
    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)

  4. final def newService(dest: Group[SocketAddress]): Service[ThriftClientRequest, Array[Byte]]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  5. def newServiceIface[ServiceIface](dest: Name)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Permalink
    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 2015-10-26) Must provide service label

  6. def newServiceIface[ServiceIface](dest: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Permalink
    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 2015-10-26) Must provide service label

Inherited from ThriftMuxClientLike

Inherited from ThriftRichClient

Inherited from StackBasedClient[ThriftClientRequest, Array[Byte]]

Inherited from Transformable[ThriftMuxClientLike]

Inherited from Parameterized[ThriftMuxClientLike]

Inherited from Client[ThriftClientRequest, Array[Byte]]

Inherited from AnyRef

Inherited from Any

Ungrouped