C# 클래스 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
상속: IStorageProvider
파일 보기 프로젝트 열기: OrleansContrib/Orleans.StorageProviders.SimpleSQLServerStorage

공개 메소드들

메소드 설명
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.

메소드 상세

ClearStateAsync() 공개 메소드

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

Close() 공개 메소드

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

Init() 공개 메소드

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

ReadStateAsync() 공개 메소드

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

WriteStateAsync() 공개 메소드

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