Skip to content

LogConsistencyProvider

class

Namespace: Orleans.EventSourcing.CustomStorage

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 Orleans.EventSourcing.CustomStorage.ICustomStorageInterface 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.
public class LogConsistencyProvider : ILogViewAdaptorFactory

Constructors

Properties

  • 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