Edit

Share via


IGrainStorage Interface

Definition

Interface to be implemented for a storage able to read and write Orleans grain state data.

public interface IGrainStorage
type IGrainStorage = interface
Public Interface IGrainStorage
Derived

Methods

ClearStateAsync(String, GrainReference, IGrainState)

Delete / Clear data function for this storage instance.

ClearStateAsync<T>(String, GrainId, IGrainState<T>)

Delete / Clear data function for this storage instance.

ReadStateAsync(String, GrainReference, IGrainState)

Read data function for this storage instance.

ReadStateAsync<T>(String, GrainId, IGrainState<T>)

Read data function for this storage instance.

WriteStateAsync(String, GrainReference, IGrainState)

Write data function for this storage instance.

WriteStateAsync<T>(String, GrainId, IGrainState<T>)

Write data function for this storage instance.

Applies to