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. IterableLike
  4. Equals
  5. GenIterable
  6. GenIterableLike
  7. Traversable
  8. GenTraversable
  9. GenericTraversableTemplate
  10. TraversableLike
  11. GenTraversableLike
  12. Parallelizable
  13. TraversableOnce
  14. GenTraversableOnce
  15. FilterMonadic
  16. HasNewBuilder
  17. Tracer
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufferingTracer()

Type Members

  1. type Self = Iterable[Record]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Record, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Record, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike
  5. def ++:[B >: Record, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, Record) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (Record, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: ⇒ B)(seqop: (B, Record) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  15. def clear(): Unit
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  17. def collect[B, That](pf: PartialFunction[Record, B])(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  18. def collectFirst[B](pf: PartialFunction[Record, B]): Option[B]
    Definition Classes
    TraversableOnce
  19. def companion: GenericCompanion[Iterable]
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  20. def copyToArray[B >: Record](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Record](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToArray[B >: Record](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def copyToBuffer[B >: Record](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  24. def count(p: (Record) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def drop(n: Int): Iterable[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  26. def dropRight(n: Int): Iterable[Record]
    Definition Classes
    IterableLike
  27. def dropWhile(p: (Record) ⇒ Boolean): Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  30. def exists(p: (Record) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  31. def filter(p: (Record) ⇒ Boolean): Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  32. def filterNot(p: (Record) ⇒ Boolean): Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  33. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def find(p: (Record) ⇒ Boolean): Option[Record]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  35. def flatMap[B, That](f: (Record) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  36. def flatten[B](implicit asTraversable: (Record) ⇒ GenTraversableOnce[B]): Iterable[B]
    Definition Classes
    GenericTraversableTemplate
  37. def fold[A1 >: Record](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldLeft[B](z: B)(op: (B, Record) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def foldRight[B](z: B)(op: (Record, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  40. def forall(p: (Record) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def foreach[U](f: (Record) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  42. def genericBuilder[B]: Builder[B, Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
  43. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def groupBy[K](f: (Record) ⇒ K): Map[K, Iterable[Record]]
    Definition Classes
    TraversableLike → GenTraversableLike
  45. def grouped(size: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableLike
  46. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  47. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def head: Record
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  49. def headOption: Option[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  50. def init: Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  51. def inits: Iterator[Iterable[Record]]
    Definition Classes
    TraversableLike
  52. 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
  53. def isEmpty: Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  54. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  55. def isNull: Boolean

    Indicates whether or not this tracer instance is NullTracer.

    Indicates whether or not this tracer instance is NullTracer.

    Definition Classes
    Tracer
  56. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  57. def iterator: Iterator[Record]
    Definition Classes
    BufferingTracer → IterableLike → GenIterableLike
  58. def last: Record
    Definition Classes
    TraversableLike → GenTraversableLike
  59. def lastOption: Option[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def map[B, That](f: (Record) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  61. def max[B >: Record](implicit cmp: Ordering[B]): Record
    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def maxBy[B](f: (Record) ⇒ B)(implicit cmp: Ordering[B]): Record
    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def min[B >: Record](implicit cmp: Ordering[B]): Record
    Definition Classes
    TraversableOnce → GenTraversableOnce
  64. def minBy[B](f: (Record) ⇒ B)(implicit cmp: Ordering[B]): Record
    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. def newBuilder: Builder[Record, Iterable[Record]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  70. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  72. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  73. def par: ParIterable[Record]
    Definition Classes
    Parallelizable
  74. def parCombiner: Combiner[Record, ParIterable[Record]]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  75. def partition(p: (Record) ⇒ Boolean): (Iterable[Record], Iterable[Record])
    Definition Classes
    TraversableLike → GenTraversableLike
  76. def product[B >: Record](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def record(record: Record): Unit
    Definition Classes
    BufferingTracerTracer
  78. def reduce[A1 >: Record](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduceLeft[B >: Record](op: (B, Record) ⇒ B): B
    Definition Classes
    TraversableOnce
  80. def reduceLeftOption[B >: Record](op: (B, Record) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def reduceOption[A1 >: Record](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduceRight[B >: Record](op: (Record, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  83. def reduceRightOption[B >: Record](op: (Record, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def repr: Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  85. def reversed: List[Record]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  86. def sameElements[B >: Record](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  87. 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.

  88. def scan[B >: Record, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def scanLeft[B, That](z: B)(op: (B, Record) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  90. def scanRight[B, That](z: B)(op: (Record, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Record], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  91. def seq: Iterable[Record]
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  92. def size: Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def sizeHintIfCheap: Int
    Attributes
    protected[scala.collection]
    Definition Classes
    GenTraversableOnce
  94. def slice(from: Int, until: Int): Iterable[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  95. def sliding(size: Int, step: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableLike
  96. def sliding(size: Int): Iterator[Iterable[Record]]
    Definition Classes
    IterableLike
  97. def span(p: (Record) ⇒ Boolean): (Iterable[Record], Iterable[Record])
    Definition Classes
    TraversableLike → GenTraversableLike
  98. def splitAt(n: Int): (Iterable[Record], Iterable[Record])
    Definition Classes
    TraversableLike → GenTraversableLike
  99. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  100. def sum[B >: Record](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  102. def tail: Iterable[Record]
    Definition Classes
    TraversableLike → GenTraversableLike
  103. def tails: Iterator[Iterable[Record]]
    Definition Classes
    TraversableLike
  104. def take(n: Int): Iterable[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  105. def takeRight(n: Int): Iterable[Record]
    Definition Classes
    IterableLike
  106. def takeWhile(p: (Record) ⇒ Boolean): Iterable[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  107. def thisCollection: Iterable[Record]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  108. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Record, Col[Record]]): Col[Record]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  109. def toArray[B >: Record](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def toBuffer[B >: Record]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toCollection(repr: Iterable[Record]): Iterable[Record]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  112. def toIndexedSeq: IndexedSeq[Record]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toIterable: Iterable[Record]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  114. def toIterator: Iterator[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  115. def toList: List[Record]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toMap[T, U](implicit ev: <:<[Record, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def toSeq: Seq[Record]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def toSet[B >: Record]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def toStream: Stream[Record]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  120. def toString(): String
    Definition Classes
    TraversableLike → Any
  121. def toTraversable: Traversable[Record]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  122. def toVector: Vector[Record]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def transpose[B](implicit asTraversable: (Record) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  124. def unzip[A1, A2](implicit asPair: (Record) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    GenericTraversableTemplate
  125. def unzip3[A1, A2, A3](implicit asTriple: (Record) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    GenericTraversableTemplate
  126. def view(from: Int, until: Int): IterableView[Record, Iterable[Record]]
    Definition Classes
    IterableLike → TraversableLike
  127. def view: IterableView[Record, Iterable[Record]]
    Definition Classes
    IterableLike → TraversableLike
  128. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  129. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  131. def withFilter(p: (Record) ⇒ Boolean): FilterMonadic[Record, Iterable[Record]]
    Definition Classes
    TraversableLike → FilterMonadic
  132. def zip[A1 >: Record, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[Record], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  133. def zipAll[B, A1 >: Record, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Record], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  134. def zipWithIndex[A1 >: Record, That](implicit bf: CanBuildFrom[Iterable[Record], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Inherited from Iterable[Record]

Inherited from IterableLike[Record, Iterable[Record]]

Inherited from Equals

Inherited from GenIterable[Record]

Inherited from Traversable[Record]

Inherited from GenTraversable[Record]

Inherited from Parallelizable[Record, ParIterable[Record]]

Inherited from TraversableOnce[Record]

Inherited from GenTraversableOnce[Record]

Inherited from FilterMonadic[Record, Iterable[Record]]

Inherited from HasNewBuilder[Record, Iterable[com.twitter.finagle.tracing.Record] @scala.annotation.unchecked.uncheckedVariance]

Inherited from Tracer

Inherited from AnyRef

Inherited from Any

Ungrouped