Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Cacheable(val expireAfterWrite: ExpireAfterWrite = ExpireAfterWrite(), val maximumSize: Long = 0)
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class ExpireAfterWrite(val duration: Long = 2, val timeUnit: TimeUnit = TimeUnit.MINUTES)

Functions

Link copied to clipboard
fun withCache(subject: Any): Any