StorageDelegate

constructor(delegate: Storage<T>, cacheStrategy: CacheStrategy = CacheStrategy.NO_CACHE)(source)

Parameters

delegate

The repository to delegate the operations to.

cacheStrategy

The strategy for caching the item in memory.

Type Parameters

T

The type of the object to be stored.