DataCacheView

class DataCacheView(cache: DataCache) : DataCache(source)

A DataCacheView that limits removal of cached instances to those inserted in this cache, and not the underlying cache.

Constructors

Link copied to clipboard
constructor(cache: DataCache)

Functions

Link copied to clipboard
fun DataCache.createView(): DataCacheView

Creates a DataCacheView for this view, only removing elements that were added directly to this instance.

Link copied to clipboard
open override fun <T : Any> getEntry(type: KType): DataEntryCache<T>?
Link copied to clipboard
open suspend override fun register(description: DataDescription<out Any, out Any>)
open suspend override fun register(vararg descriptions: DataDescription<out Any, out Any>)
open suspend override fun register(descriptions: Iterable<DataDescription<out Any, out Any>>)
Link copied to clipboard
open override fun toString(): String