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 : ILogViewAdaptorFactoryConstructors
Properties
PrimaryClusterSpecifies a cluster id of the primary cluster from which to access storage exclusively, null if storage should be accessed directly from all clusters.UsesStorageProviderReturns true if a storage provider is required for constructing adaptors.
Methods
MakeLogViewAdaptor(ILogViewAdaptorHost<TView, TEntry>, TView, string, IGrainStorage, ILogConsistencyProtocolServices)Constructs aOrleans.EventSourcing.ILogViewAdaptorto be installed in the given host grain.
