CacheConfig

data class CacheConfig(val dropAllCachesOnUnauthorised: Boolean = true, val usePersistentCache: Boolean = true, val maxPersistentCacheSize: Long? = 100 * 1024 * 1024, val cleanupPersistentCacheForOtherUsers: Boolean = true, val cleanupUnusedCachesAfter: <Error class: unknown class> = 7.days)

Constructors

Link copied to clipboard
constructor(dropAllCachesOnUnauthorised: Boolean = true, usePersistentCache: Boolean = true, maxPersistentCacheSize: Long? = 100 * 1024 * 1024, cleanupPersistentCacheForOtherUsers: Boolean = true, cleanupUnusedCachesAfter: <Error class: unknown class> = 7.days)

Properties

Link copied to clipboard

Persistent cache for each AccountDescriptor is stored in separate database.

Link copied to clipboard
val cleanupUnusedCachesAfter: <Error class: unknown class>

Persistent cache for each AccountDescriptor is stored in separate database.

Link copied to clipboard

When true all persistent caches are dropped once Unauthorised response received from backend on connect.

Link copied to clipboard

Maximum device storage size in bytes used for all persistent caches.

Link copied to clipboard

When true persistent caches is used, when false - only in-memory cache is used.