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. The configured primary cluster identifier is passed to each custom-storage adaptor. Custom-storage adaptors accept submissions from every cluster. public class LogConsistencyProvider : ILogViewAdaptorFactoryConstructors
LogConsistencyProvider(CustomStorageLogConsistencyOptions)Initializes a new instance of theLogConsistencyProviderclass.
Properties
PrimaryClusterGets the cluster identifier passed to each custom-storage adaptor.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.
