CacheStorageConfiguration

class CacheStorageConfiguration(val directoryPath: File? = null, val maxDiskSize: Memory = DEFAULT_MAX_DISK_SIZE)

Configuration parameters for a CacheStorageConfiguration.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(directoryPath: File? = null, maxDiskSize: Memory = DEFAULT_MAX_DISK_SIZE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val directoryPath: File? = null

The full path to the persistent cache storage directory. The directory must exist and be writable. If the parameter is omitted or set to null, the default cache storage directory will be used.

Link copied to clipboard

The maximum disk size of the persistent cache storage. The parameter defaults to DEFAULT_MAX_DISK_SIZE. The value must be greater than zero megabytes.

Functions

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

Checks if this CacheStorageConfiguration object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this CacheStorageConfiguration object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.