RedisGrainStorage
class
Namespace: Orleans.Persistence
Redis-based grain storage provider
public class RedisGrainStorage : ILifecycleParticipant<ISiloLifecycle>, IGrainStorage, IAsyncDisposable, IDisposableConstructors
Methods
ClearStateAsync(string, GrainId, IGrainState<T>)Delete / Clear data function for this storage instance.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.DisposeAsyncPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.Participate(ISiloLifecycle)Adds the provided observer as a participant in the lifecycle.ReadStateAsync(string, GrainId, IGrainState<T>)Read data function for this storage instance.WriteStateAsync(string, GrainId, IGrainState<T>)Write data function for this storage instance.
