com.twitter.finagle.thrift.thriftscala

Span

object Span extends ThriftStructCodec3[Span] with Serializable

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

The root span is where trace_id = id and parent_id = Nil. The root span is usually the longest interval in the trace, starting with a SERVER_RECV annotation and ending with a SERVER_SEND.

Linear Supertypes
Serializable, Serializable, ThriftStructCodec3[Span], ThriftStructCodec[Span], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Span
  2. Serializable
  3. Serializable
  4. ThriftStructCodec3
  5. ThriftStructCodec
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Span

    The default read-only implementation of Span.

  2. trait Proxy extends Span

    This Proxy trait allows you to extend the Span trait with additional state or behavior and implement the read-only methods from Span using an underlying instance.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val AnnotationsField: TField

  7. val AnnotationsFieldManifest: Manifest[Seq[Annotation]]

  8. val BinaryAnnotationsField: TField

  9. val BinaryAnnotationsFieldManifest: Manifest[Seq[BinaryAnnotation]]

  10. val DebugField: TField

  11. val DebugFieldManifest: Manifest[Boolean]

  12. val IdField: TField

  13. val IdFieldManifest: Manifest[Long]

  14. object Immutable extends ThriftStructCodec3[Span] with Serializable

  15. val NameField: TField

  16. val NameFieldManifest: Manifest[String]

  17. val ParentIdField: TField

  18. val ParentIdFieldManifest: Manifest[Long]

  19. val Struct: TStruct

  20. val TraceIdField: TField

  21. val TraceIdFieldManifest: Manifest[Long]

  22. def apply(traceId: Long, name: String, id: Long, parentId: Option[Long] = _root_.scala.None, annotations: Seq[Annotation] = ..., binaryAnnotations: Seq[BinaryAnnotation] = ..., debug: Boolean): Span

  23. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def decode(_iprot: TProtocol): Span

    Definition Classes
    Span → ThriftStructCodec
  26. val decoder: (TProtocol) ⇒ Span

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  27. def encode(_item: Span, _oproto: TProtocol): Unit

    Definition Classes
    Span → ThriftStructCodec
  28. val encoder: (Span, TProtocol) ⇒ Unit

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  29. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  31. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  32. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  36. lazy val metaData: ThriftStructMetaData[Span]

    Definition Classes
    ThriftStructCodec
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. lazy val structAnnotations: Map[String, String]

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

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def ttypeToString(byte: Byte): String

    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  44. def unapply(_item: Span): Option[Product7[Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean]]

  45. def validate(_item: Span): Unit

    Checks that all required fields are non-null.

  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def withoutPassthroughFields(original: Span): Span

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[Span]

Inherited from ThriftStructCodec[Span]

Inherited from AnyRef

Inherited from Any

Ungrouped