final case class Config[-A, B] extends ConfigLike[A, B] with Product with Serializable
The configuration for the producer, containing information about the cache folder, cache capacity, etc.
- Alphabetic
- By Inheritance
- Config
- Serializable
- Product
- Equals
- ConfigLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- val accept: (A, B) => Boolean
Acceptor function.
Acceptor function. Given an initially found value, this function should return
trueif the value is still valid, orfalseif it is invalid and should be recomputed. This function is used only once during the initial directory scan of the producer after it is created.- Definition Classes
- Config → ConfigLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val capacity: Limit
The maximum capacity of the cache.
The maximum capacity of the cache.
- Definition Classes
- Config → ConfigLike
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val evict: (A, B) => Unit
A function which is being called when an entry is evicted from cache.
A function which is being called when an entry is evicted from cache. The function must ensure that any associated resources are disposed of.
- Definition Classes
- Config → ConfigLike
- val executionContext: ExecutionContext
The context used by the cache to spawn future computations.
The context used by the cache to spawn future computations.
- Definition Classes
- Config → ConfigLike
- val extension: String
The file name extension to use, excluding leading period.
The file name extension to use, excluding leading period. It must only consist of letters and digits.
- Definition Classes
- Config → ConfigLike
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val folder: File
The directory where the cached values are stored.
The directory where the cached values are stored. If this directory does not exist upon cache creation, it will be created on the fly.
- Definition Classes
- Config → ConfigLike
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val space: (A, B) => Long
Associate resources space function.
Associate resources space function. Given a value, this function should compute the size in bytes of any additional resources used by this entry.
- Definition Classes
- Config → ConfigLike
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()