C# Class Orleans.StorageProviders.SimpleSQLServerStorage.SimpleSQLServerStorage

KeyValue Storage of grain state UseJsonFormat defaults to false, but can be set to true, false, or both if both is set, then both binary and json data is stored, but the binary data is used
Inheritance: IStorageProvider
Afficher le fichier Open project: OrleansContrib/Orleans.StorageProviders.SimpleSQLServerStorage

Méthodes publiques

Méthode Description
ClearStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task

Clear state data function for this storage provider.

Close ( ) : System.Threading.Tasks.Task

Shutdown this storage provider.

Init ( string name, IProviderRuntime providerRuntime, IProviderConfiguration config ) : System.Threading.Tasks.Task

Initialization function for this storage provider.

ReadStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task

Read state data function for this storage provider.

WriteStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task

Write state data function for this storage provider.

Method Details

ClearStateAsync() public méthode

Clear state data function for this storage provider.
public ClearStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task
grainType string
grainReference GrainReference
grainState IGrainState
Résultat System.Threading.Tasks.Task

Close() public méthode

Shutdown this storage provider.
public Close ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Init() public méthode

Initialization function for this storage provider.
public Init ( string name, IProviderRuntime providerRuntime, IProviderConfiguration config ) : System.Threading.Tasks.Task
name string
providerRuntime IProviderRuntime
config IProviderConfiguration
Résultat System.Threading.Tasks.Task

ReadStateAsync() public méthode

Read state data function for this storage provider.
public ReadStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task
grainType string
grainReference GrainReference
grainState IGrainState
Résultat System.Threading.Tasks.Task

WriteStateAsync() public méthode

Write state data function for this storage provider.
public WriteStateAsync ( string grainType, GrainReference grainReference, IGrainState grainState ) : System.Threading.Tasks.Task
grainType string
grainReference GrainReference
grainState IGrainState
Résultat System.Threading.Tasks.Task