Edit

Share via


ILogConsistentGrain.InstallAdaptor Method

Definition

called right after grain construction to install the log view adaptor

public void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Public Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, storageProvider As IStorageProvider, 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

storageProvider
IStorageProvider

The storage provider, if needed

services
ILogConsistencyProtocolServices

Protocol services

Applies to