Edit

Share via


LogConsistentGrain<TView>.InstallAdaptor Method

Definition

called right after grain construction to install the log view adaptor

protected abstract void InstallAdaptor (Orleans.EventSourcing.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.EventSourcing.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> unit
Protected MustOverride Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)

Parameters

factory
ILogViewAdaptorFactory

The adaptor factory to use

state
Object

The initial state of the view

grainTypeName
String

The type name of the grain

grainStorage
IGrainStorage

The grain storage, if needed

services
ILogConsistencyProtocolServices

Protocol services

Applies to