Skip to content

ILogViewAdaptorHost<TLogView, TLogEntry>

interface

Namespace: Orleans.EventSourcing

Interface implemented by all grains which use log-view consistency It gives the log view adaptor access to grain-specific information and callbacks.
public interface ILogViewAdaptorHost<TLogView, TLogEntry> : IConnectionIssueListener

Methods

  • OnViewChanged(bool, bool) Notifies the host grain about state changes. Called by Orleans.EventSourcing.ILogViewAdaptor whenever the tentative or confirmed state changes. Implementations may vary as to whether and how much they batch change notifications. Any exceptions thrown will be caught and logged as a warning./>.
  • UpdateView(TLogView, TLogEntry) Implementation of view transitions. Any exceptions thrown will be caught and logged as a warning./>.