sealed trait ConfigLike[-A, -B] extends AnyRef
- Alphabetic
- By Inheritance
- ConfigLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
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. -
abstract
def
capacity: Limit
The maximum capacity of the cache.
-
abstract
def
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.
-
abstract
def
executionContext: ExecutionContext
The context used by the cache to spawn future computations.
-
abstract
def
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.
-
abstract
def
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.
-
abstract
def
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.
Concrete 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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )