Redigera

Dela via


Orleans.EventSourcing.StateStorage Namespace

Classes

GrainStateWithMetaData<TView>

A class that extends grain state with versioning metadata, so that a log-consistent grain can use a standard storage provider.

GrainStateWithMetaDataAndETag<TView>

A class that extends grain state with versioning metadata, so that a grain with log-view consistency can use a standard storage provider.

LogConsistencyProvider

A log-consistency provider that stores the latest view in primary storage, using any standard storage provider. Supports multiple clusters connecting to the same primary storage (doing optimistic concurrency control via e-tags)

The log itself is transient, i.e. not actually saved to storage - only the latest view (snapshot) and some metadata (the log position, and write flags) are stored in the primary.