Bewerken

Delen via


DynamoDBGrainStorage Class

Definition

Dynamo DB storage Provider. Persist Grain State in a DynamoDB table either in Json or Binary format.

public class DynamoDBGrainStorage : Orleans.ILifecycleParticipant<Orleans.Runtime.ISiloLifecycle>, Orleans.Storage.IGrainStorage
type DynamoDBGrainStorage = class
    interface IGrainStorage
    interface ILifecycleParticipant<ISiloLifecycle>
Public Class DynamoDBGrainStorage
Implements IGrainStorage, ILifecycleParticipant(Of ISiloLifecycle)
Inheritance
DynamoDBGrainStorage
Implements

Constructors

DynamoDBGrainStorage(String, DynamoDBStorageOptions, IServiceProvider, ILogger<DynamoDBGrainStorage>)

Default Constructor

DynamoDBGrainStorage(String, DynamoDBStorageOptions, SerializationManager, IGrainFactory, ITypeResolver, ILogger<DynamoDBGrainStorage>)

Default Constructor

DynamoDBGrainStorage(String, DynamoDBStorageOptions, SerializationManager, IGrainFactory, ITypeResolver, ILoggerFactory)

Default Constructor

Methods

ClearStateAsync(String, GrainReference, IGrainState)

Clear / Delete state data function for this storage provider.

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

Clear / Delete state data function for this storage provider.

Close(CancellationToken)

Shutdown this storage provider.

Init(CancellationToken)

Initialization function for this storage provider.

Participate(ISiloLifecycle)
ReadStateAsync(String, GrainReference, IGrainState)

Read state data function for this storage provider.

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

Read state data function for this storage provider.

WriteStateAsync(String, GrainReference, IGrainState)

Write state data function for this storage provider.

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

Write state data function for this storage provider.

Applies to