CacheSettings

class CacheSettings(val storage: CacheSettings.Storage = Storage.PERSISTENT, val maxAge: Duration = Duration.ZERO)(source)

The settings of the query result cache, see DataConnectSettings.cacheSettings.

Constructors

Link copied to clipboard
constructor(storage: CacheSettings.Storage = Storage.PERSISTENT, maxAge: Duration = Duration.ZERO)

Types

Link copied to clipboard

Where cached query results are kept.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun CacheSettings.copy(storage: CacheSettings.Storage = this.storage, maxAge: Duration = this.maxAge): CacheSettings

A copy of these settings with the given values replaced.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String