Releases: mori-atsushi/kotlin-cacheable
Releases · mori-atsushi/kotlin-cacheable
v0.0.3
v0.0.2
- 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 {
/* ... */
}
}
v0.0.1
Initial release 🎉