Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard
interface StateViewCache<V : Any>

The shared cache of another context's aggregate states, each read as its generated view V (the <State>View of the context's api module): what a Saga, a name lookup or an internal computation reads instead of querying the context on every call.

Link copied to clipboard

A StateViewCache cannot serve the states of keys now: the cache does not hold them and their owner cannot be read (it is unreachable, the node has no route to it, or the read timed out), or the cache's backend fails. It may serve them later; the cause says what failed.