com.twitter.finagle.thrift.thriftscala.Span

Immutable

class Immutable extends 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.

Linear Supertypes
Span, Serializable, Product7[Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Immutable
  2. Span
  3. Serializable
  4. Product7
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(traceId: Long, name: String, id: Long, parentId: Option[Long] = _root_.scala.None, annotations: Seq[Annotation] = ..., binaryAnnotations: Seq[BinaryAnnotation] = ..., debug: Boolean)

  2. new Immutable(traceId: Long, name: String, id: Long, parentId: Option[Long], annotations: Seq[Annotation], binaryAnnotations: Seq[BinaryAnnotation], debug: Boolean, _passthroughFields: Map[Short, TFieldBlob])

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. def _1: Long

    Definition Classes
    Span → Product7
  7. def _2: String

    Definition Classes
    Span → Product7
  8. def _3: Long

    Definition Classes
    Span → Product7
  9. def _4: Option[Long]

    Definition Classes
    Span → Product7
  10. def _5: Seq[Annotation]

    Definition Classes
    Span → Product7
  11. def _6: Seq[BinaryAnnotation]

    Definition Classes
    Span → Product7
  12. def _7: Boolean

    Definition Classes
    Span → Product7
  13. val _passthroughFields: Map[Short, TFieldBlob]

    Definition Classes
    ImmutableSpan
  14. val annotations: Seq[Annotation]

    Definition Classes
    ImmutableSpan
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. val binaryAnnotations: Seq[BinaryAnnotation]

    Definition Classes
    ImmutableSpan
  17. def canEqual(other: Any): Boolean

    Definition Classes
    Span → Equals
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def copy(traceId: Long = this.traceId, name: String = this.name, id: Long = this.id, parentId: Option[Long] = this.parentId, annotations: Seq[Annotation] = this.annotations, binaryAnnotations: Seq[BinaryAnnotation] = this.binaryAnnotations, debug: Boolean = this.debug, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Span

    Definition Classes
    Span
  20. val debug: Boolean

    Definition Classes
    ImmutableSpan
  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean

    Definition Classes
    Span → Equals → AnyRef → Any
  23. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  25. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    Span
  26. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    Span
  27. def hashCode(): Int

    Definition Classes
    Span → AnyRef → Any
  28. val id: Long

    Definition Classes
    ImmutableSpan
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val name: String

    Definition Classes
    ImmutableSpan
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  34. val parentId: Option[Long]

    Definition Classes
    ImmutableSpan
  35. def productArity: Int

    Definition Classes
    Span → Product7 → Product
  36. def productElement(n: Int): Any

    Definition Classes
    Span → Product7 → Product
  37. def productIterator: Iterator[Any]

    Definition Classes
    Product
  38. def productPrefix: String

    Definition Classes
    Span → Product
  39. def setField(_blob: TFieldBlob): Span

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    Span
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    Span → AnyRef → Any
  42. val traceId: Long

    Definition Classes
    ImmutableSpan
  43. def unsetAnnotations: Span

    Definition Classes
    Span
  44. def unsetBinaryAnnotations: Span

    Definition Classes
    Span
  45. def unsetDebug: Span

    Definition Classes
    Span
  46. def unsetField(_fieldId: Short): Span

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Span
  47. def unsetId: Span

    Definition Classes
    Span
  48. def unsetName: Span

    Definition Classes
    Span
  49. def unsetParentId: Span

    Definition Classes
    Span
  50. def unsetTraceId: Span

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Span
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def write(_oprot: TProtocol): Unit

    Definition Classes
    Span → ThriftStruct

Inherited from Span

Inherited from Serializable

Inherited from Product7[Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped