Redigera

Dela via


JournaledGrain<TGrainState,TEventBase>.ILogConsistentGrain.InstallAdaptor Method

Definition

Called right after grain is constructed, to install the adaptor. The log-consistency provider contains a factory method that constructs the adaptor with chosen types for this grain

void ILogConsistentGrain.InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
override this.Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) Implements ILogConsistentGrain.InstallAdaptor

Parameters

initialState
Object
graintypename
String
storageProvider
IStorageProvider

Implements

Applies to