CacheKey

class CacheKey(val key: String)

A CacheKey identifies an object in the cache.

Parameters

key

The key of the object in the cache. The key must be globally unique.

Constructors

Link copied to clipboard
fun CacheKey(typename: String, values: List<String>)

Builds a CacheKey from a typename and a list of Strings.

Link copied to clipboard
fun CacheKey(typename: String, vararg values: String)

Builds a CacheKey from a typename and a list of Strings.

Link copied to clipboard
fun CacheKey(key: String)

Types

Link copied to clipboard
object Companion

Functions

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
fun serialize(): String
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val key: String