MemoryGrainStorageWithLatency
class
Namespace: Orleans.Storage
This is a simple in-memory implementation of a storage provider which presents fixed latency of storage calls. This class is useful for system testing and investigation of the effects of storage latency.
public class MemoryGrainStorageWithLatency : IGrainStorageRemarks
This storage provider is ONLY intended for simple in-memory Test scenarios. This class should NOT be used in Production environment, because [by-design] it does not provide any resilience or long-term persistence capabilities.
Constructors
Methods
ClearStateAsync(string, GrainId, IGrainState<T>)Delete / Clear state data function for this storage provider.ReadStateAsync(string, GrainId, IGrainState<T>)Read state data function for this storage provider.WriteStateAsync(string, GrainId, IGrainState<T>)Write state data function for this storage provider.
