Compartir a través de


ILogConsistentGrain.InstallAdaptor Método

Definición

se llama justo después de la construcción del grano para instalar el adaptador de la vista de registro.

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)

Parámetros

factory
ILogViewAdaptorFactory

Fábrica de adaptadores que se va a usar

state
Object

Estado inicial de la vista

grainTypeName
String

Nombre de tipo del grano

storageProvider
IStorageProvider

Proveedor de almacenamiento, si es necesario

services
ILogConsistencyProtocolServices

Servicios de protocolo

Se aplica a