triggerCacheTypeClear

open override fun triggerCacheTypeClear(cacheId: CacheIds, duration: Duration, repeat: Boolean)(source)

Triggers a thread to clear a certain cache type after a certain amount of time

Parameters

cacheId

The id of the cache

duration

The duration to wait before clearing the cache

repeat

whether to repeat the clearing of the cache


open override fun triggerCacheTypeClear(cacheIds: List<CacheIds>, duration: Duration, repeat: Boolean)(source)

Triggers a thread to clear a list of cache types after a certain amount of time

Parameters

cacheIds

The ids of the caches

duration

The duration to wait before clearing the cache

repeat

whether to repeat the clearing of the cache