saveFrequency

abstract fun saveFrequency(saveFrequency: Duration): MemoryCacheManagerBuilder<K, V>

Controls how soon a snapshot of the MemoryCache is persisted after a change to the Cache. The Duration specified by saveFrequency will elapse between each persisted snapshot. This is in addition to the time it takes to persist the snapshot itself.

NOTE: Retrieving an entry is considered a change because CacheEntry.lastAccessDate is updated.