ILogConsistentGrain.InstallAdaptor 方法

定义

在粒度构造后调用以安装日志视图适配器

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)

参数

factory
ILogViewAdaptorFactory

要使用的适配器工厂

state
Object

视图的初始状态

grainTypeName
String

粒度的类型名称

storageProvider
IStorageProvider

存储提供程序(如果需要)

services
ILogConsistencyProtocolServices

协议服务

适用于