Skip to content

Releases: mori-atsushi/kotlin-cacheable

v0.0.3

25 Dec 04:11
260cfd2
Compare
Choose a tag to compare
  • Add a parameter for locking (#31)
  • Kotlin v1.9.21 (#21, #26)

v0.0.2

05 Nov 16:21
6428751
Compare
Choose a tag to compare
  • Allow specifying maximum number of caches #16

If you specify maxCount parameter, the number of cached values will be limited to the specified value.
If the number of cached values exceeds the specified value, the cache with the oldest access time
will be removed.

class SomeClass {
    @Cacheable(maxCount = 10)
    fun getSomething(key: String): Something {
        /* ... */
    }
}
  • Disable android native supports #16
  • Support multi threads #17

v0.0.1

05 Nov 04:48
126c789
Compare
Choose a tag to compare

Initial release 🎉