nee-cache-caffeine / dev.neeffect.nee.effects.cache.caffeine / CaffeineProvider

CaffeineProvider

class CaffeineProvider : CacheProvider

Constructors

<init>

CaffeineProvider(cache: Cache<Any, Any> = defaultCache())

Functions

computeIfAbsent

fun <K, V> computeIfAbsent(key: K, func: (K) -> V): V

Companion Object Functions

defaultCache

fun defaultCache(): Cache<Any!, Any!>