class SparkCache[K <: AnyRef, V <: AnyRef] extends Cache[K, V] with Serializable with Wrapper[utils.cache.SparkCache[K, V]]
Serializable cache that uses as backend a single cache per Spark node.
- Alphabetic
 - By Inheritance
 
- SparkCache
 - Wrapper
 - Serializable
 - Cache
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-  new SparkCache(factory: SerializableSupplier[Cache[K, V]])
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clear(): Unit
Removes all keys and values from the cache.
Removes all keys and values from the cache.
- Definition Classes
 - SparkCache → Cache
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(o: Any): Boolean
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -    def get(key: K, value: Supplier[V]): V
Gets the value associated with the given key.
Gets the value associated with the given key. If no value is already associated, then associates the given value with the key and uses it as the return value. If the value is a function, it is executed exactly once even if other threads call this with the same key while the previous function executes.
- key
 The key to set.
- value
 A function to calculate the value if it didn't exist in the cache.
- returns
 the value for the given key.
- Definition Classes
 - SparkCache → Cache
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -    val impl: utils.cache.SparkCache[K, V]
- Definition Classes
 - SparkCache → Wrapper
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)