package thriftscala

  1. Public
  2. All

Type Members

  1. trait Annotation extends ThriftStruct with Product3[Long, String, Option[Endpoint]] with Serializable

  2. sealed trait AnnotationType extends ThriftEnum with Serializable

  3. trait BinaryAnnotation extends ThriftStruct with Product4[String, ByteBuffer, AnnotationType, Option[Endpoint]] with Serializable

  4. trait ClientId extends ThriftStruct with Product1[String] with Serializable

  5. trait ConnectionOptions extends ThriftStruct with Product with Serializable

  6. trait Delegation extends ThriftStruct with Product2[String, String] with Serializable

  7. trait Endpoint extends ThriftStruct with Product3[Int, Short, String] with Serializable

  8. trait RequestContext extends ThriftStruct with Product2[ByteBuffer, ByteBuffer] with Serializable

  9. trait RequestHeader extends ThriftStruct with Product9[Long, Long, Option[Long], Option[Boolean], Option[ClientId], Option[Long], Seq[RequestContext], Option[String], Option[Seq[Delegation]]] with Serializable

  10. trait ResponseHeader extends ThriftStruct with Product2[Seq[Span], Seq[RequestContext]] with Serializable

  11. trait Span extends ThriftStruct with Product7[Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean] with Serializable

  12. trait UpgradeReply extends ThriftStruct with Product with Serializable

Value Members

  1. object Annotation extends ThriftStructCodec3[Annotation] with Serializable

    An annotation is similar to a log statement.

  2. object AnnotationType extends Product with Serializable

  3. object BinaryAnnotation extends ThriftStructCodec3[BinaryAnnotation] with Serializable

    Binary annotations are tags applied to a Span to give it context.

  4. object ClientId extends ThriftStructCodec3[ClientId] with Serializable

    At connection time, we can let the server know who we are so they can book keep and optionally reject unknown clients.

  5. object ConnectionOptions extends ThriftStructCodec3[ConnectionOptions] with Serializable

    These are connection-level options negotiated during protocol upgrade.

  6. object Constants

  7. object Delegation extends ThriftStructCodec3[Delegation] with Serializable

    Serializes an individual delegation.

  8. object Endpoint extends ThriftStructCodec3[Endpoint] with Serializable

    Indicates the network context of a service recording an annotation with two exceptions.

  9. object RequestContext extends ThriftStructCodec3[RequestContext] with Serializable

    This struct serializes com.

  10. object RequestHeader extends ThriftStructCodec3[RequestHeader] with Serializable

    RequestHeader defines headers for the request.

  11. object ResponseHeader extends ThriftStructCodec3[ResponseHeader] with Serializable

    The Response carries a reply header for tracing.

  12. object Span extends ThriftStructCodec3[Span] with Serializable

    A trace is a series of spans (often RPC calls) which form a latency tree.

  13. object UpgradeReply extends ThriftStructCodec3[UpgradeReply] with Serializable

    This is the struct that a successful upgrade will reply with.