Packages

c

com.twitter.finagle.tracing

BufferingTracer

class BufferingTracer extends Tracer with Iterable[Record]

A tracer that buffers each record in memory. These may then be iterated over.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferingTracer
  2. Iterable
  3. IterableFactoryDefaults
  4. IterableOps
  5. IterableOnceOps
  6. IterableOnce
  7. Tracer
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BufferingTracer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: Record](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  6. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  10. def clear(): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def coll: BufferingTracer.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  13. def collect[B](pf: PartialFunction[Record, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  14. def collectFirst[B](pf: PartialFunction[Record, B]): Option[B]
    Definition Classes
    IterableOnceOps
  15. def concat[B >: Record](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  16. def copyToArray[B >: Record](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  17. def copyToArray[B >: Record](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  18. def copyToArray[B >: Record](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  19. def corresponds[B](that: IterableOnce[B])(p: (Record, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  20. def count(p: (Record) => Boolean): Int
    Definition Classes
    IterableOnceOps
  21. def drop(n: Int): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  22. def dropRight(n: Int): Iterable[Record]
    Definition Classes
    IterableOps
  23. def dropWhile(p: (Record) => Boolean): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  24. def empty: Iterable[Record]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def exists(p: (Record) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  28. def filter(pred: (Record) => Boolean): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  29. def filterNot(pred: (Record) => Boolean): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. def find(p: (Record) => Boolean): Option[Record]
    Definition Classes
    IterableOnceOps
  32. def flatMap[B](f: (Record) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  33. def flatten[B](implicit asIterable: (Record) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  34. def fold[A1 >: Record](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  35. def foldLeft[B](z: B)(op: (B, Record) => B): B
    Definition Classes
    IterableOnceOps
  36. def foldRight[B](z: B)(op: (Record, B) => B): B
    Definition Classes
    IterableOnceOps
  37. def forall(p: (Record) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  38. def foreach[U](f: (Record) => U): Unit
    Definition Classes
    IterableOnceOps
  39. def fromSpecific(coll: IterableOnce[Record]): Iterable[Record]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  40. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def groupBy[K](f: (Record) => K): Map[K, Iterable[Record]]
    Definition Classes
    IterableOps
  42. def groupMap[K, B](key: (Record) => K)(f: (Record) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  43. def groupMapReduce[K, B](key: (Record) => K)(f: (Record) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  44. def grouped(size: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableOps
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  46. def head: Record
    Definition Classes
    IterableOps
  47. def headOption: Option[Record]
    Definition Classes
    IterableOps
  48. def init: Iterable[Record]
    Definition Classes
    IterableOps
  49. def inits: Iterator[Iterable[Record]]
    Definition Classes
    IterableOps
  50. def isActivelyTracing(traceId: TraceId): Boolean

    Is this tracer actively tracing this traceId?

    Is this tracer actively tracing this traceId?

    Return: If TraceId.sampled == None sampleTrace() has not been called yet or the tracer still wants to receive traces but not make the decision for child services. In either case return true so that this tracer is still considered active for this traceId.

    If TraceId.sampled == Some(decision) sampleTrace() has already been called, or a previous service has already made a decision whether to sample this trace or not. So respect that decision and return it.

    Definition Classes
    BufferingTracerTracer
  51. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def isNull: Boolean

    Indicates whether or not this tracer instance is NullTracer.

    Indicates whether or not this tracer instance is NullTracer.

    Definition Classes
    Tracer
  54. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  55. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  56. def iterator: Iterator[Record]
    Definition Classes
    BufferingTracer → IterableOnce
  57. def knownSize: Int
    Definition Classes
    IterableOnce
  58. def last: Record
    Definition Classes
    IterableOps
  59. def lastOption: Option[Record]
    Definition Classes
    IterableOps
  60. def lazyZip[B](that: Iterable[B]): LazyZip2[Record, B, BufferingTracer.this.type]
    Definition Classes
    Iterable
  61. def map[B](f: (Record) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  62. def max[B >: Record](implicit ord: Ordering[B]): Record
    Definition Classes
    IterableOnceOps
  63. def maxBy[B](f: (Record) => B)(implicit cmp: Ordering[B]): Record
    Definition Classes
    IterableOnceOps
  64. def maxByOption[B](f: (Record) => B)(implicit cmp: Ordering[B]): Option[Record]
    Definition Classes
    IterableOnceOps
  65. def maxOption[B >: Record](implicit ord: Ordering[B]): Option[Record]
    Definition Classes
    IterableOnceOps
  66. def min[B >: Record](implicit ord: Ordering[B]): Record
    Definition Classes
    IterableOnceOps
  67. def minBy[B](f: (Record) => B)(implicit cmp: Ordering[B]): Record
    Definition Classes
    IterableOnceOps
  68. def minByOption[B](f: (Record) => B)(implicit cmp: Ordering[B]): Option[Record]
    Definition Classes
    IterableOnceOps
  69. def minOption[B >: Record](implicit ord: Ordering[B]): Option[Record]
    Definition Classes
    IterableOnceOps
  70. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  71. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  72. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  73. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  74. def newSpecificBuilder: Builder[Record, Iterable[Record]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  75. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  76. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  77. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. def partition(p: (Record) => Boolean): (Iterable[Record], Iterable[Record])
    Definition Classes
    IterableOps
  79. def partitionMap[A1, A2](f: (Record) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  80. def product[B >: Record](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  81. def record(record: Record): Unit
    Definition Classes
    BufferingTracerTracer
  82. def reduce[B >: Record](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  83. def reduceLeft[B >: Record](op: (B, Record) => B): B
    Definition Classes
    IterableOnceOps
  84. def reduceLeftOption[B >: Record](op: (B, Record) => B): Option[B]
    Definition Classes
    IterableOnceOps
  85. def reduceOption[B >: Record](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  86. def reduceRight[B >: Record](op: (Record, B) => B): B
    Definition Classes
    IterableOnceOps
  87. def reduceRightOption[B >: Record](op: (Record, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  88. def reversed: Iterable[Record]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  89. def sampleTrace(traceId: TraceId): Option[Boolean]

    Should we sample this trace or not? Could be decided that a percentage of all traces will be let through for example.

    Should we sample this trace or not? Could be decided that a percentage of all traces will be let through for example. True: keep it False: false throw the data away None: i'm going to defer making a decision on this to the child service

    Definition Classes
    BufferingTracerTracer
    See also

    Tracer.SomeTrue and Tracer.SomeFalse as constant return values.

  90. def scan[B >: Record](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  91. def scanLeft[B](z: B)(op: (B, Record) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  92. def scanRight[B](z: B)(op: (Record, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  93. def size: Int
    Definition Classes
    IterableOnceOps
  94. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  95. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  96. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  97. def slice(from: Int, until: Int): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  98. def sliding(size: Int, step: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableOps
  99. def sliding(size: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableOps
  100. def span(p: (Record) => Boolean): (Iterable[Record], Iterable[Record])
    Definition Classes
    IterableOps → IterableOnceOps
  101. def splitAt(n: Int): (Iterable[Record], Iterable[Record])
    Definition Classes
    IterableOps → IterableOnceOps
  102. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Record, S]): S
    Definition Classes
    IterableOnce
  103. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  104. def sum[B >: Record](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  105. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  106. def tail: Iterable[Record]
    Definition Classes
    IterableOps
  107. def tails: Iterator[Iterable[Record]]
    Definition Classes
    IterableOps
  108. def take(n: Int): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  109. def takeRight(n: Int): Iterable[Record]
    Definition Classes
    IterableOps
  110. def takeWhile(p: (Record) => Boolean): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  111. def tapEach[U](f: (Record) => U): Iterable[Record]
    Definition Classes
    IterableOps → IterableOnceOps
  112. def to[C1](factory: Factory[Record, C1]): C1
    Definition Classes
    IterableOnceOps
  113. def toArray[B >: Record](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  114. final def toBuffer[B >: Record]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  115. def toIndexedSeq: IndexedSeq[Record]
    Definition Classes
    IterableOnceOps
  116. final def toIterable: BufferingTracer.this.type
    Definition Classes
    Iterable → IterableOps
  117. def toList: List[Record]
    Definition Classes
    IterableOnceOps
  118. def toMap[K, V](implicit ev: <:<[Record, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  119. def toSeq: Seq[Record]
    Definition Classes
    IterableOnceOps
  120. def toSet[B >: Record]: Set[B]
    Definition Classes
    IterableOnceOps
  121. def toString(): String
    Definition Classes
    Iterable → AnyRef → Any
  122. def toVector: Vector[Record]
    Definition Classes
    IterableOnceOps
  123. def transpose[B](implicit asIterable: (Record) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  124. def unzip[A1, A2](implicit asPair: (Record) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  125. def unzip3[A1, A2, A3](implicit asTriple: (Record) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  126. def view: View[Record]
    Definition Classes
    IterableOps
  127. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  128. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  129. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  130. def withFilter(p: (Record) => Boolean): WithFilter[Record, Iterable]
    Definition Classes
    IterableOps
  131. def zip[B](that: IterableOnce[B]): Iterable[(Record, B)]
    Definition Classes
    IterableOps
  132. def zipAll[A1 >: Record, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  133. def zipWithIndex: Iterable[(Record, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: Record](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, Record) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (Record, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, Record) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: Record](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  8. final def repr: Iterable[Record]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  9. def seq: BufferingTracer.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  10. final def toIterator: Iterator[Record]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  11. final def toStream: Stream[Record]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  12. final def toTraversable: Traversable[Record]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  13. def view(from: Int, until: Int): View[Record]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from Iterable[Record]

Inherited from IterableOnce[Record]

Inherited from Tracer

Inherited from AnyRef

Inherited from Any

Ungrouped