JournaledGrain<TGrainState, TEventBase>
class
Namespace: Orleans.EventSourcing
A base class for log-consistent grains using standard event-sourcing terminology. All operations are reentrancy-safe.
public abstract class JournaledGrain<TGrainState, TEventBase> : LogConsistentGrain<TGrainState>, IConnectionIssueListener, ILogConsistencyProtocolParticipant, ILogViewAdaptorHost<TGrainState, TEventBase>, IGrain, IAddressable where TGrainState : class, new() where TEventBase : classProperties
UnconfirmedEventsReturns the current queue of unconfirmed events.
Methods
OnActivateAsync(CancellationToken)By default, upon activation, the journaled grain waits until it has loaded the latest view from storage. Subclasses can override this behavior, and skip the wait if desired.
