DefaultCache

class DefaultCache<R : Cacheable>(maximumSize: Long, duration: Long, timeUnit: TimeUnit) : Cache<R>

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
retrieveIfPresent
Link copied to clipboard
open override fun retrieveIfPresent(key: String): Maybe<R>
Retrieves a tileset region by a key if present.
store
Link copied to clipboard
open override fun store(key: String, obj: R): R
Caches the given object and then returns it.
toString
Link copied to clipboard
open fun toString(): String

Sources

(source)
Link copied to clipboard