All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- SuspendCache did not handle the exception in Single
- Add rxjava
Observable
for invalidate and update cache notifyfun subscribeInvalidate(channel: Observable<K>) fun <T : Any> subscribeInvalidate(channel: Observable<T>, transformer: (T) -> K) fun <T : Any> subscribeUpdate(channel: Observable<T>, transformer: (T) -> Pair<K, V>) fun unsubscribe(channel: Observable<*>) // for loading cache fun subscribeUpdate(channel: Observable<K>)
QuinineCache
changes toCache
QuinineLoadingCache
changes toLoadingCache
QuinineCacheStats
changes toCacheStats
0.2.0 - 2020-06-09
- the coroutine cache get method changes to suspend function
- the mapping function of coroutine cache changes to suspend function
0.1.0 - 2020-06-05
- Copy and adapt the document from
Caffeine
for reactive part - Reactive test case
- gradle
rootProject.name
change fromQuinine
toquinine
K
ofcache<K, V>
now have an upper bounding toAny
, make sure not null
- import name error of
rxQuinineLoadingCache
inQuinine.kt
- the logic of
getAllPresent
andtestGetAll
in test case
0.0.1 - 2020-06-05
- Coroutine style QuinineCache
- Reactive style QuinineCache
- Copy and adapt the document from
Caffeine
for coroutine part