LogConsistentGrain<TView>.InstallAdaptor 方法

定义

在粮食构造后调用右以安装日志视图适配器

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)

参数

factory
ILogViewAdaptorFactory

要使用的适配器工厂

state
Object

视图的初始状态

grainTypeName
String

粒度的类型名称

grainStorage
IGrainStorage

粮食存储(如果需要)

services
ILogConsistencyProtocolServices

协议服务

适用于