class Cache extends Iterable[Any]

This class contains the services and methods that are used to perform operations on the cache.

Linear Supertypes
Iterable[Any], IterableLike[Any, Iterable[Any]], Equals, GenIterable[Any], GenIterableLike[Any, Iterable[Any]], Traversable[Any], GenTraversable[Any], GenericTraversableTemplate[Any, Iterable], TraversableLike[Any, Iterable[Any]], GenTraversableLike[Any, Iterable[Any]], Parallelizable[Any, ParIterable[Any]], TraversableOnce[Any], GenTraversableOnce[Any], FilterMonadic[Any, Iterable[Any]], HasNewBuilder[Any, Iterable[Any] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cache
  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

Instance Constructors

  1. new Cache(internalCache: Cache)

Type Members

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

Abstract Value Members

  1. abstract def iterator: Iterator[Any]
    Definition Classes
    IterableLike → GenIterableLike

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Any, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Any, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike
  5. def ++:[B >: Any, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def add(key: String, item: CacheItem): CacheItemVersion

    Adds a CacheItem to the cache.

    Adds a CacheItem to the cache. Using CacheItem, you can also specify properties for the cache items, for e.g., expiration and priority.

    key

    Unique key to identify the cache item.

    item

    CacheItem that is to be stored in the cache.

    returns

    Represents the version of each cache item.

    Annotations
    @throws( ... )
    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  8. def add(key: String, value: Any): CacheItemVersion

    Adds an item into the Cache object with a cache key to reference its location.

    Adds an item into the Cache object with a cache key to reference its location.

    key

    Unique key to identify the cache item.

    value

    The item (object) to be stored in the cache.

    returns

    Represents the version of each cache item.

    Annotations
    @throws( ... )
    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  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, Any) ⇒ 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  16. def collect[B, That](pf: PartialFunction[Any, B])(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  17. def collectFirst[B](pf: PartialFunction[Any, B]): Option[B]
    Definition Classes
    TraversableOnce
  18. def companion: GenericCompanion[Iterable]
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  19. def copyToArray[B >: Any](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Any](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Any](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: Any](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  23. def count(p: (Any) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def drop(n: Int): Iterable[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  25. def dropRight(n: Int): Iterable[Any]
    Definition Classes
    IterableLike
  26. def dropWhile(p: (Any) ⇒ Boolean): Iterable[Any]
    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: (Any) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def filter(p: (Any) ⇒ Boolean): Iterable[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  31. def filterNot(p: (Any) ⇒ Boolean): Iterable[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  32. def find(p: (Any) ⇒ Boolean): Option[Any]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  33. def flatMap[B, That](f: (Any) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  34. def flatten[B](implicit asTraversable: (Any) ⇒ GenTraversableOnce[B]): Iterable[B]
    Definition Classes
    GenericTraversableTemplate
  35. def fold[A1 >: Any](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def foldLeft[B](z: B)(op: (B, Any) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldRight[B](z: B)(op: (Any, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  38. def forall(p: (Any) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  39. def foreach[U](f: (Any) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  40. def genericBuilder[B]: Builder[B, Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. def getClientInfo: ClientInfo

    Displays the information related to this com.alachisoft.ncache.client.

    Displays the information related to this com.alachisoft.ncache.client.

    returns

    The information related to this com.alachisoft.ncache.client.

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  43. def getConnectedClientList: List[ClientInfo]

    Gets the information of all connected clients to the cache.

    Gets the information of all connected clients to the cache.

    returns

    A list that contains information of all com.alachisoft.ncache.client connected to the cache.

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  44. def getCount: Long

    Gets the number of items stored in the cache.

    Gets the number of items stored in the cache.

    returns

    The number of items stored in the cache.

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  45. def getDataStructuresManager: DataStructureManager

    Gets an instance of DataStructureManager.

    Gets an instance of DataStructureManager.

    returns

    An instance of DataStructureManager

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  46. def getMessagingService: <MessagingService>

    Gets an instance of MessagingService

    Gets an instance of MessagingService

    returns

    An instance of MessagingService

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  47. def getNotificationService: <NotificationService>

    Gets an instance of NotificationService.

    Gets an instance of NotificationService.

    returns

    An instance of NotificationService

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  48. def getSearchService: <SearchService>

    Gets an instance of SearchService.

    Gets an instance of SearchService.

    returns

    An instance of SearchService

    Exceptions thrown

    com.alachisoft.ncache.runtime.exceptions.CacheException So you can catch this exception for all the exceptions thrown from within the NCache.

  49. def groupBy[K](f: (Any) ⇒ K): Map[K, Iterable[Any]]
    Definition Classes
    TraversableLike → GenTraversableLike
  50. def grouped(size: Int): Iterator[Iterable[Any]]
    Definition Classes
    IterableLike
  51. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. def head: Any
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  54. def headOption: Option[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def init: Iterable[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def inits: Iterator[Iterable[Any]]
    Definition Classes
    TraversableLike
  57. def isEmpty: Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  60. def last: Any
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def lastOption: Option[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  62. def map[B, That](f: (Any) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  63. def max[B >: Any](implicit cmp: Ordering[B]): Any
    Definition Classes
    TraversableOnce → GenTraversableOnce
  64. def maxBy[B](f: (Any) ⇒ B)(implicit cmp: Ordering[B]): Any
    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def min[B >: Any](implicit cmp: Ordering[B]): Any
    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def minBy[B](f: (Any) ⇒ B)(implicit cmp: Ordering[B]): Any
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. def newBuilder: Builder[Any, Iterable[Any]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  72. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  74. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  75. def par: ParIterable[Any]
    Definition Classes
    Parallelizable
  76. def parCombiner: Combiner[Any, ParIterable[Any]]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  77. def partition(p: (Any) ⇒ Boolean): (Iterable[Any], Iterable[Any])
    Definition Classes
    TraversableLike → GenTraversableLike
  78. def product[B >: Any](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduce[A1 >: Any](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def reduceLeft[B >: Any](op: (B, Any) ⇒ B): B
    Definition Classes
    TraversableOnce
  81. def reduceLeftOption[B >: Any](op: (B, Any) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduceOption[A1 >: Any](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def reduceRight[B >: Any](op: (Any, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  84. def reduceRightOption[B >: Any](op: (Any, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def repr: Iterable[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  86. def reversed: List[Any]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  87. def sameElements[B >: Any](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  88. def scan[B >: Any, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def scanLeft[B, That](z: B)(op: (B, Any) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Any], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  90. def scanRight[B, That](z: B)(op: (Any, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Any], 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[Any]
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  92. def size: Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    GenTraversableOnce
  94. def slice(from: Int, until: Int): Iterable[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  95. def sliding(size: Int, step: Int): Iterator[Iterable[Any]]
    Definition Classes
    IterableLike
  96. def sliding(size: Int): Iterator[Iterable[Any]]
    Definition Classes
    IterableLike
  97. def span(p: (Any) ⇒ Boolean): (Iterable[Any], Iterable[Any])
    Definition Classes
    TraversableLike → GenTraversableLike
  98. def splitAt(n: Int): (Iterable[Any], Iterable[Any])
    Definition Classes
    TraversableLike → GenTraversableLike
  99. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  100. def sum[B >: Any](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  102. def tail: Iterable[Any]
    Definition Classes
    TraversableLike → GenTraversableLike
  103. def tails: Iterator[Iterable[Any]]
    Definition Classes
    TraversableLike
  104. def take(n: Int): Iterable[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  105. def takeRight(n: Int): Iterable[Any]
    Definition Classes
    IterableLike
  106. def takeWhile(p: (Any) ⇒ Boolean): Iterable[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  107. def thisCollection: Iterable[Any]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  108. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Any, Col[Any]]): Col[Any]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  109. def toArray[B >: Any](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def toBuffer[B >: Any]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toCollection(repr: Iterable[Any]): Iterable[Any]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  112. def toIndexedSeq: IndexedSeq[Any]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toIterable: Iterable[Any]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  114. def toIterator: Iterator[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  115. def toList: List[Any]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toMap[T, U](implicit ev: <:<[Any, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def toSeq: Seq[Any]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def toSet[B >: Any]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def toStream: Stream[Any]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  120. def toString(): String
    Definition Classes
    TraversableLike → Any
  121. def toTraversable: Traversable[Any]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  122. def toVector: Vector[Any]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def transpose[B](implicit asTraversable: (Any) ⇒ 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: (Any) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    GenericTraversableTemplate
  125. def unzip3[A1, A2, A3](implicit asTriple: (Any) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    GenericTraversableTemplate
  126. def view(from: Int, until: Int): IterableView[Any, Iterable[Any]]
    Definition Classes
    IterableLike → TraversableLike
  127. def view: IterableView[Any, Iterable[Any]]
    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
    @throws( ... ) @native()
  131. def withFilter(p: (Any) ⇒ Boolean): FilterMonadic[Any, Iterable[Any]]
    Definition Classes
    TraversableLike → FilterMonadic
  132. def zip[A1 >: Any, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[Any], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  133. def zipAll[B, A1 >: Any, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Any], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  134. def zipWithIndex[A1 >: Any, That](implicit bf: CanBuildFrom[Iterable[Any], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, Any) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: (Any, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Iterable[Any]

Inherited from IterableLike[Any, Iterable[Any]]

Inherited from Equals

Inherited from GenIterable[Any]

Inherited from GenIterableLike[Any, Iterable[Any]]

Inherited from Traversable[Any]

Inherited from GenTraversable[Any]

Inherited from GenericTraversableTemplate[Any, Iterable]

Inherited from TraversableLike[Any, Iterable[Any]]

Inherited from GenTraversableLike[Any, Iterable[Any]]

Inherited from Parallelizable[Any, ParIterable[Any]]

Inherited from TraversableOnce[Any]

Inherited from GenTraversableOnce[Any]

Inherited from FilterMonadic[Any, Iterable[Any]]

Inherited from HasNewBuilder[Any, Iterable[Any] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped