Compartilhar via


LogConsistentGrain<TView>.InstallAdaptor Método

Definição

chamado logo após a construção de granularidade para instalar o adaptador de exibição de log

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)

Parâmetros

factory
ILogViewAdaptorFactory

A fábrica de adaptadores a ser usada

state
Object

O estado inicial da exibição

grainTypeName
String

O nome do tipo da granularidade

grainStorage
IGrainStorage

O armazenamento de granularidade, se necessário

services
ILogConsistencyProtocolServices

Serviços de protocolo

Aplica-se a