JournaledGrain<TGrainState,TEventBase>.InstallAdaptor 方法

定义

重载

InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)

构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器

InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)

构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器

InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)

构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器

protected override void InstallAdaptor (Orleans.EventSourcing.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services);
override this.InstallAdaptor : Orleans.EventSourcing.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> unit
Protected Overrides Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)

参数

initialState
Object
graintypename
String
grainStorage
IGrainStorage

适用于

InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)

Source:
JournaledGrain.cs

构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器

protected override void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
override this.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Protected Overrides Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)

参数

initialState
Object
graintypename
String
grainStorage
IGrainStorage

适用于