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
Mostrar archivo Open project: OrleansContrib/Orleans.StorageProviders.SimpleSQLServerStorage

Public Methods

Method 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 method

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
return System.Threading.Tasks.Task

Close() public method

Shutdown this storage provider.
public Close ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Init() public method

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

ReadStateAsync() public method

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
return System.Threading.Tasks.Task

WriteStateAsync() public method

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
return System.Threading.Tasks.Task