Basahin sa Ingles I-edit

Ibahagi sa


LogConsistencyProvider Class

Definition

A log-consistency provider that relies on grain-specific custom code for reading states from storage, and appending deltas to storage. Grains that wish to use this provider must implement the ICustomStorageInterface<TState,TDelta> interface, to define how state is read and how deltas are written. If the provider attribute "PrimaryCluster" is supplied in the provider configuration, then only the specified cluster accesses storage, and other clusters may not issue updates.

C#
public class LogConsistencyProvider : Orleans.LogConsistency.ILogConsistencyProvider
C#
public class LogConsistencyProvider : Orleans.LogConsistency.ILogViewAdaptorFactory
C#
public class LogConsistencyProvider : Orleans.EventSourcing.ILogViewAdaptorFactory
Inheritance
LogConsistencyProvider
Implements

Constructors

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.

PrimaryCluster

Specifies a cluster id of the primary cluster from which to access storage exclusively, null if storage should be accessed directly from all clusters.

UsesStorageProvider

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

Methods

Applies to

Produkto Mga Bersyon
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0