JournaledGrain<TGrainState,TEventBase>.ILogConsistentGrain.InstallAdaptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices