Object

com.twitter.finagle.Thrift

param

Related Doc: package Thrift

Permalink

object param

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. param
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AttemptTTwitterUpgrade(upgrade: Boolean) extends Product with Serializable

    Permalink

    A Param to control upgrading the thrift protocol to TTwitter.

    A Param to control upgrading the thrift protocol to TTwitter.

    See also

    The user guide for details on Twitter-upgrade Thrift.

  2. case class ClientId(clientId: Option[thrift.ClientId]) extends Product with Serializable

    Permalink
  3. case class Framed(enabled: Boolean) extends Product with Serializable

    Permalink

    A Param to control whether a framed transport should be used.

    A Param to control whether a framed transport should be used. If this is set to false, a buffered transport is used. Framed transports are enabled by default.

    enabled

    Whether a framed transport should be used.

  4. case class MaxReusableBufferSize(maxReusableBufferSize: Int) extends Product with Serializable

    Permalink

    A Param to set the max size of a reusable buffer for the thrift response.

    A Param to set the max size of a reusable buffer for the thrift response. If the buffer size exceeds the specified value, the buffer is not reused, and a new buffer is used for the next thrift response. The default max size is 16Kb.

    maxReusableBufferSize

    Max buffer size in bytes.

  5. case class PerEndpointStats(enabled: Boolean) extends Product with Serializable

    Permalink

    A Param to control whether to record per-endpoint stats.

    A Param to control whether to record per-endpoint stats. If this is set to true, per-endpoint stats will be counted.

    enabled

    Whether to count per-endpoint stats

  6. case class ProtocolFactory(protocolFactory: TProtocolFactory) extends Product with Serializable

    Permalink
  7. case class TReusableBufferFactory(tReusableBufferFactory: () ⇒ TReusableBuffer) extends Product with Serializable

    Permalink

    A Param that sets a factory to create a TReusableBuffer, the TReusableBuffer can be shared with other client instances.

    A Param that sets a factory to create a TReusableBuffer, the TReusableBuffer can be shared with other client instances. If this is set, MaxReusableBufferSize will be ignored.

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. implicit object AttemptTTwitterUpgrade extends Param[AttemptTTwitterUpgrade] with Serializable

    Permalink
  5. implicit object ClientId extends Param[ClientId] with Serializable

    Permalink
  6. implicit object Framed extends Param[Framed] with Serializable

    Permalink
  7. implicit object MaxReusableBufferSize extends Param[MaxReusableBufferSize] with Serializable

    Permalink
  8. implicit object PerEndpointStats extends Param[PerEndpointStats] with Serializable

    Permalink
  9. implicit object ProtocolFactory extends Param[ProtocolFactory] with Serializable

    Permalink
  10. implicit object TReusableBufferFactory extends Param[TReusableBufferFactory] with Serializable

    Permalink
  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  19. val maxThriftBufferSize: Int

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. val protocolFactory: TProtocolFactory

    Permalink

    The vanilla Thrift Transporter and Listener factories deviate from other protocols in the result of the netty pipeline: most other protocols expect to receive a framed Buf while vanilla thrift produces an Array[Byte].

    The vanilla Thrift Transporter and Listener factories deviate from other protocols in the result of the netty pipeline: most other protocols expect to receive a framed Buf while vanilla thrift produces an Array[Byte]. This has two related motivations. First, the end result needed by the thrift implementations is an Array[Byte], which is relatively trivial to deal with and is a JVM native type so it's unnecessary to go through a Buf. By avoiding an indirection through Buf we can avoid an unnecessary copy in the netty4 pipeline that would be required to ensure that the bytes were on the heap before entering the Finagle transport types.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped