Orleans.EventSourcing.CustomStorage 命名空间

LogConsistencyProvider

一种日志一致性提供程序,它依赖于特定于粒度的自定义代码从存储中读取状态并将增量追加到存储。 希望使用此提供程序的 Grain 必须实现 ICustomStorageInterface<TState,TDelta> 接口,以定义如何读取状态以及如何写入增量。 如果在提供程序配置中提供了提供程序属性“PrimaryCluster”,则只有指定的群集访问存储,而其他群集可能不会发出更新。

LogConsistencyProviderFactory

接口

ICustomStorageInterface<TState,TDelta>

希望使用 CustomStorage 日志一致性提供程序的 grain 公开的存储接口