Düzenle

Aracılığıyla paylaş


IStorageProvider Interface

Definition

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

public interface IStorageProvider : Orleans.Providers.IProvider
public interface IStorageProvider : Orleans.Providers.IProvider, Orleans.Storage.IGrainStorage
type IStorageProvider = interface
    interface IProvider
type IStorageProvider = interface
    interface IGrainStorage
    interface IProvider
Public Interface IStorageProvider
Implements IProvider
Public Interface IStorageProvider
Implements IGrainStorage, IProvider
Derived
Implements

Properties

Log

Logger used by this storage provider instance.

Name

The name of this provider instance, as given to it in the config.

(Inherited from IProvider)

Methods

ClearStateAsync(String, GrainReference, IGrainState)

Delete / Clear data function for this storage provider instance.

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

Delete / Clear data function for this storage instance.

(Inherited from IGrainStorage)
Close()

Close function for this provider instance.

(Inherited from IProvider)
Init(String, IProviderRuntime, IProviderConfiguration)

Initialization function called by Orleans Provider Manager when a new provider class instance is created

(Inherited from IProvider)
ReadStateAsync(String, GrainReference, IGrainState)

Read data function for this storage provider instance.

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

Read data function for this storage instance.

(Inherited from IGrainStorage)
WriteStateAsync(String, GrainReference, IGrainState)

Write data function for this storage provider instance.

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

Write data function for this storage instance.

(Inherited from IGrainStorage)

Applies to