Object/Trait

com.twitter.finagle.thrift.thriftscala

Span

Related Docs: trait Span | package thriftscala

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Span

    Permalink

    The default read-only implementation of Span.

    The default read-only implementation of Span. You typically should not need to directly reference this class; instead, use the Span.apply method to construct new instances.

  2. trait Proxy extends Span

    Permalink

    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: 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. val AnnotationsField: TField

    Permalink
  5. val AnnotationsFieldManifest: Manifest[Seq[Annotation]]

    Permalink
  6. val BinaryAnnotationsField: TField

    Permalink
  7. val BinaryAnnotationsFieldManifest: Manifest[Seq[BinaryAnnotation]]

    Permalink
  8. val DebugField: TField

    Permalink
  9. val DebugFieldManifest: Manifest[Boolean]

    Permalink
  10. val IdField: TField

    Permalink
  11. val IdFieldManifest: Manifest[Long]

    Permalink
  12. object Immutable extends ThriftStructCodec3[Span] with Serializable

    Permalink
  13. val NameField: TField

    Permalink
  14. val NameFieldManifest: Manifest[String]

    Permalink
  15. val ParentIdField: TField

    Permalink
  16. val ParentIdFieldManifest: Manifest[Long]

    Permalink
  17. val Struct: TStruct

    Permalink
  18. val TraceIdField: TField

    Permalink
  19. val TraceIdFieldManifest: Manifest[Long]

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

    Permalink
  21. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

    Permalink

    Field information in declaration order.

  30. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  43. def validate(_item: Span): Unit

    Permalink

    Checks that all required fields are non-null.

  44. final def wait(): Unit

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[Span]

Inherited from ThriftStructCodec[Span]

Inherited from AnyRef

Inherited from Any

Ungrouped