StateKey

class StateKey(val tenantId: String, val id: String)

The key of one aggregate's state in a StateViewCache: the aggregate's tenantId and id, its identity within its type. The type is the cache's: one cache per aggregate type.

Constructors

Link copied to clipboard
constructor(tenantId: String, id: String)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard

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
open override fun toString(): String

<tenantId>/<id>: what the cache stores the state under, after the cache's own prefix.