Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IGrainStorage Interface

Definition

Namespace:
Orleans.Storage
Assembly:
Orleans.Core.dll
Package:
Microsoft.Orleans.Core v10.0.0
Package:
Microsoft.Orleans.Core v2.4.5
Package:
Microsoft.Orleans.Core v3.6.5
Package:
Microsoft.Orleans.Core v7.2.5
Package:
Microsoft.Orleans.Core v8.0.0
Package:
Microsoft.Orleans.Core v8.1.0
Package:
Microsoft.Orleans.Core v8.2.0
Package:
Microsoft.Orleans.Core v9.0.0
Package:
Microsoft.Orleans.Core v9.1.2
Source:
IGrainStorage.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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