LogConsistencyProvider.MakeLogViewAdaptor メソッド

定義

オーバーロード

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)

ログ ビュー アダプターを作成する

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)

ログ ビュー アダプターを作成する

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)

ログ ビュー アダプターを作成する

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)

ログ ビュー アダプターを作成する

public Orleans.EventSourcing.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.EventSourcing.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)

型パラメーター

TView

ビューの種類

TEntry

ログ エントリの種類

パラメーター

hostGrain
ILogViewAdaptorHost<TView,TEntry>

このアダプターをホストしているグレイン

initialState
TView

このビューの初期状態

grainTypeName
String

グレインの型名

grainStorage
IGrainStorage

ストレージ プロバイダー

services
ILogConsistencyProtocolServices

マルチクラスター コヒーレンス プロトコルのランタイム サービス

戻り値

ILogViewAdaptor<TView,TEntry>

実装

適用対象

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)

ソース:
LogConsistencyProvider.cs

ログ ビュー アダプターを作成する

public Orleans.LogConsistency.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)

型パラメーター

TView

ビューの種類

TEntry

ログ エントリの種類

パラメーター

hostGrain
ILogViewAdaptorHost<TView,TEntry>

このアダプターをホストしているグレイン

initialState
TView

このビューの初期状態

grainTypeName
String

グレインの型名

grainStorage
IGrainStorage

ストレージ プロバイダー

services
ILogConsistencyProtocolServices

マルチクラスター コヒーレンス プロトコルのランタイム サービス

戻り値

ILogViewAdaptor<TView,TEntry>

実装

適用対象

MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)

ログ ビュー アダプターを作成する

public Orleans.LogConsistency.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)

型パラメーター

TView

ビューの種類

TEntry

ログ エントリの種類

パラメーター

hostGrain
ILogViewAdaptorHost<TView,TEntry>

このアダプターをホストしているグレイン

initialState
TView

このビューの初期状態

grainTypeName
String

グレインの型名

storageProvider
IStorageProvider
services
ILogConsistencyProtocolServices

マルチクラスター コヒーレンス プロトコルのランタイム サービス

戻り値

ILogViewAdaptor<TView,TEntry>

実装

適用対象