Orleans.EventSourcing.Common Namespace

Classes

BatchedNotificationMessage

A notification message containing a batch of notification messages.

NotificationFailed

Describes a connection issue that occurred when sending update notifications to remote instances.

PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>

A general template for constructing log view adaptors that are based on a sequentially read and written primary. We use this to construct a variety of different log-consistency providers, all following the same basic pattern (read and write latest view from/to primary, and send notifications after writing).

Note that the log itself is transient, i.e. not actually saved to storage - only the latest view and some metadata (the log position, and write flags) is stored in the primary. It is safe to interleave calls to this adaptor (using grain scheduler only, of course).

Subclasses override ReadAsync and WriteAsync to read from / write to primary. Calls to the primary are serialized, i.e. never interleave.

PrimaryOperationFailed

Describes a connection issue that occurred when communicating with primary storage.

StringEncodedWriteVector
SubmissionEntry<TLogEntry>

Base class for submission entries stored in pending queue.

VersionNotificationMessage

A simple notification message containing only the version.

Structs

RecordedConnectionIssue

Utility class for recording connection issues. It is public, not internal, because it is a useful building block for implementing other consistency providers.

Interfaces

INotificationMessage

Base class for notification messages that are sent by log view adaptors to other clusters, after updating the log. All subclasses must be serializable.