Redigera

Dela via


LogConsistencyProvider Class

Definition

A log-consistency provider that stores the latest view in primary storage, using any standard storage provider. Supports multiple clusters connecting to the same primary storage (doing optimistic concurrency control via e-tags)

The log itself is transient, i.e. not actually saved to storage - only the latest view (snapshot) and some metadata (the log position, and write flags) are stored in the primary.

public class LogConsistencyProvider : Orleans.LogConsistency.ILogConsistencyProvider
public class LogConsistencyProvider : Orleans.LogConsistency.ILogViewAdaptorFactory
public class LogConsistencyProvider : Orleans.EventSourcing.ILogViewAdaptorFactory
type LogConsistencyProvider = class
    interface ILogConsistencyProvider
    interface IProvider
    interface ILogViewAdaptorFactory
type LogConsistencyProvider = class
    interface ILogViewAdaptorFactory
Public Class LogConsistencyProvider
Implements ILogConsistencyProvider
Public Class LogConsistencyProvider
Implements ILogViewAdaptorFactory
Inheritance
LogConsistencyProvider
Implements

Constructors

LogConsistencyProvider()

Properties

Log

Gets the TraceLogger used by this log-consistency provider.

Name

The name of this provider instance, as given to it in the config.

UsesStorageProvider

Returns true if a storage provider is required for constructing adaptors.

Methods

Close()

Close method

GetLoggerName() System.Object.GetLoggerName
Init(String, IProviderRuntime, IProviderConfiguration)

Init method

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

Make log view adaptor

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

Make log view adaptor

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

Make log view adaptor

Applies to