This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
v2.0
- RxJava support.
- Added clear and clearAsync methods to the public API. These methods completely clear the cache and delete all the stored key-value pairs.
- Added tests.
- Moved distribution from Maven Central to JitPack.
- Reservoir now uses a separate cache directory inside the application specific cache directory to store data.
- Fix: If init is not called before calling any other methods, an IllegalStateException is thrown.
- Fix: reservoir now checks if size of object being inserted is greater than cache size and throws and IOException if it is.
- Fix: removed allowBackup from manifest.