Edit

Share via


ILogViewAdaptorHost<TLogView,TLogEntry> Interface

Definition

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> : Orleans.LogConsistency.IConnectionIssueListener
type ILogViewAdaptorHost<'LogView, 'LogEntry> = interface
    interface IConnectionIssueListener
Public Interface ILogViewAdaptorHost(Of TLogView, TLogEntry)
Implements IConnectionIssueListener

Type Parameters

TLogView

type of the log view

TLogEntry

type of log entries

Derived
Implements

Methods

OnConnectionIssue(ConnectionIssue)

Called when running into some sort of connection trouble. The called code can modify the retry delay if desired, to change the default.

(Inherited from IConnectionIssueListener)
OnConnectionIssueResolved(ConnectionIssue)

Called when a previously reported connection issue has been resolved.

(Inherited from IConnectionIssueListener)
OnViewChanged(Boolean, Boolean)

Notifies the host grain about state changes. Called by ILogViewAdaptor<TLogView,TLogEntry> 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 by Log.

UpdateView(TLogView, TLogEntry)

Implementation of view transitions. Any exceptions thrown will be caught and logged as a warning by Log.

Applies to