MemoCache

constructor(cacheSettings: CacheCustomizable)

Parameters

cacheSettings

настройки кэширования (ограничения размера, времени жизни)

Тесты: site.geniyz.cache.cache.MemoCacheTest (get computes and caches value, set and get string, set and get byte array, null removes existing value, remove deletes value, arbitrary objects are cached, composite key invalidates previous value of the same base, composite key cached by get participates in invalidation, simple keys are independent, concurrent get computes value only once)


constructor()

Создание кэшера с настройками из глобального контекста Koin.