Redigera

Dela via


LogConsistentGrain<TView>.InstallAdaptor Method

Definition

called right after grain construction to install the log view adaptor

protected abstract void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.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