CacheSpec

interface CacheSpec

A spec for configuring a Cache.

Functions

Link copied to clipboard
abstract fun executor(executor: Executor)
Link copied to clipboard
abstract fun inMemory(maxSizeBytes: Long)
Link copied to clipboard
abstract fun listener(listener: CacheListener)
Link copied to clipboard
abstract fun on(storageExtension: StorageExtension)
Link copied to clipboard
abstract fun onDisk(path: Path, maxSizeBytes: Long)
Link copied to clipboard
abstract fun synchronizeWrites(synchronizeWrites: Boolean = true)