Packages

trait Registry extends Iterable[Entry]

This is an expert-level API; it is not meant for end-users.

The registry is a hierarchical key/value store, where all keys are sequences of Strings, and values are Strings.

Keys and values must be non-control ascii. If you pass in a key or value with an invalid character, the character will silently be removed. If this makes your key clash with another key, it will overwrite.

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Registry
  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. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

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

Abstract Value Members

  1. abstract def iterator: Iterator[Entry]

    Provides an iterator over the registry.

    Provides an iterator over the registry.

    It is the responsibility of the caller to synchronize if they would like to iterate in multiple threads, but the iterator is guaranteed not to change as it is called.

    Definition Classes
    Registry → IterableLike → GenIterableLike
  2. abstract def put(key: Seq[String], value: String): Option[String]

    Registers a value in the registry, and returns the old value (if any).

    Registers a value in the registry, and returns the old value (if any).

    See Registry.put(String*) for the Java usage.

  3. abstract def remove(key: Seq[String]): Option[String]

    Removes a key from the registry, if it was registered, and returns the old value (if any).

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Entry, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Entry, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike
  5. def ++:[B >: Entry, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, Entry) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (Entry, 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, Entry) ⇒ 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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  16. def collect[B, That](pf: PartialFunction[Entry, B])(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  17. def collectFirst[B](pf: PartialFunction[Entry, B]): Option[B]
    Definition Classes
    TraversableOnce
  18. def companion: GenericCompanion[Iterable]
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  19. def copyToArray[B >: Entry](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Entry](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Entry](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: Entry](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  23. def count(p: (Entry) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def drop(n: Int): Iterable[Entry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  25. def dropRight(n: Int): Iterable[Entry]
    Definition Classes
    IterableLike
  26. def dropWhile(p: (Entry) ⇒ Boolean): Iterable[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  29. def exists(p: (Entry) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def filter(p: (Entry) ⇒ Boolean): Iterable[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  31. def filterNot(p: (Entry) ⇒ Boolean): Iterable[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  32. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def find(p: (Entry) ⇒ Boolean): Option[Entry]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  34. def flatMap[B, That](f: (Entry) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  35. def flatten[B](implicit asTraversable: (Entry) ⇒ GenTraversableOnce[B]): Iterable[B]
    Definition Classes
    GenericTraversableTemplate
  36. def fold[A1 >: Entry](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldLeft[B](z: B)(op: (B, Entry) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldRight[B](z: B)(op: (Entry, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  39. def forall(p: (Entry) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def foreach[U](f: (Entry) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  41. def genericBuilder[B]: Builder[B, Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
  42. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def groupBy[K](f: (Entry) ⇒ K): Map[K, Iterable[Entry]]
    Definition Classes
    TraversableLike → GenTraversableLike
  44. def grouped(size: Int): Iterator[Iterable[Entry]]
    Definition Classes
    IterableLike
  45. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def head: Entry
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  48. def headOption: Option[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  49. def init: Iterable[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  50. def inits: Iterator[Iterable[Entry]]
    Definition Classes
    TraversableLike
  51. def isEmpty: Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  54. def last: Entry
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def lastOption: Option[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def map[B, That](f: (Entry) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  57. def max[B >: Entry](implicit cmp: Ordering[B]): Entry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def maxBy[B](f: (Entry) ⇒ B)(implicit cmp: Ordering[B]): Entry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def min[B >: Entry](implicit cmp: Ordering[B]): Entry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def minBy[B](f: (Entry) ⇒ B)(implicit cmp: Ordering[B]): Entry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. def newBuilder: Builder[Entry, Iterable[Entry]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  66. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. def par: ParIterable[Entry]
    Definition Classes
    Parallelizable
  70. def parCombiner: Combiner[Entry, ParIterable[Entry]]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  71. def partition(p: (Entry) ⇒ Boolean): (Iterable[Entry], Iterable[Entry])
    Definition Classes
    TraversableLike → GenTraversableLike
  72. def product[B >: Entry](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def put(value: String*): Option[String]

    Registers a value (a non-empty sequence of strings) in the registry, and returns the old value (if any).

    Registers a value (a non-empty sequence of strings) in the registry, and returns the old value (if any).

    Note: This is a Java-friendly version of Registry.put(Seq[String, String]).

    Annotations
    @varargs()
  74. def reduce[A1 >: Entry](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reduceLeft[B >: Entry](op: (B, Entry) ⇒ B): B
    Definition Classes
    TraversableOnce
  76. def reduceLeftOption[B >: Entry](op: (B, Entry) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def reduceOption[A1 >: Entry](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduceRight[B >: Entry](op: (Entry, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  79. def reduceRightOption[B >: Entry](op: (Entry, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def repr: Iterable[Entry]
    Definition Classes
    TraversableLike → GenTraversableLike
  81. def reversed: List[Entry]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  82. def sameElements[B >: Entry](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  83. def scan[B >: Entry, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  84. def scanLeft[B, That](z: B)(op: (B, Entry) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Entry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  85. def scanRight[B, That](z: B)(op: (Entry, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Entry], 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.

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

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

Inherited from Iterable[Entry]

Inherited from IterableLike[Entry, Iterable[Entry]]

Inherited from Equals

Inherited from GenIterable[Entry]

Inherited from GenIterableLike[Entry, Iterable[Entry]]

Inherited from Traversable[Entry]

Inherited from GenTraversable[Entry]

Inherited from TraversableLike[Entry, Iterable[Entry]]

Inherited from Parallelizable[Entry, ParIterable[Entry]]

Inherited from TraversableOnce[Entry]

Inherited from GenTraversableOnce[Entry]

Inherited from FilterMonadic[Entry, Iterable[Entry]]

Inherited from HasNewBuilder[Entry, Iterable[com.twitter.util.registry.Entry] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped