LayeredCache

constructor(memory: Cache<V>, persistent: Cache<V>? = null)

Parameters

memory

the fast, volatile layer.

persistent

the durable layer, or null for a memory-only cache.