CosmosGrainStorage
class
Namespace: Orleans.Persistence.Cosmos
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public sealed class CosmosGrainStorage : ILifecycleParticipant<ISiloLifecycle>, IGrainStorageConstructors
Methods
ClearStateAsync(string, GrainId, IGrainState<T>)Delete / Clear data function for this storage instance.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.
