C# 클래스 Candor.WindowsAzure.Storage.Table.CloudTableSequenceIdOptimisticSyncStore

An optimistic sync store for sequence Ids that persists to an Azure table.
상속: ISequenceIdOptimisticSyncStore
파일 보기 프로젝트 열기: michael-lang/candor-common

Private Properties

프로퍼티 타입 설명
CreateSequenceFromSchema TableEntityProxy

공개 메소드들

메소드 설명
GetData ( string tableName ) : OptimisticSyncData

Gets the current sequence value for a given table.

GetSequenceIdStore ( string tableName ) : SequenceIdStore

Gets the sequence for a given table.

GetSequenceIdStores ( ) : IEnumerable

Gets all sequence definitions available.

InsertOrUpdate ( SequenceIdSchema sequence ) : void

Saves the specified sequence schema, overwriting the existing schema if applicable. The schema does not contain the current latest sequence value.

TryWrite ( OptimisticSyncData syncData ) : bool

Tries to write the current sequence value for a table.

비공개 메소드들

메소드 설명
CreateSequenceFromSchema ( string tableName ) : TableEntityProxy

메소드 상세

GetData() 공개 메소드

Gets the current sequence value for a given table.
public GetData ( string tableName ) : OptimisticSyncData
tableName string
리턴 Candor.Data.OptimisticSyncData

GetSequenceIdStore() 공개 메소드

Gets the sequence for a given table.
public GetSequenceIdStore ( string tableName ) : SequenceIdStore
tableName string
리턴 Candor.Data.SequenceIdStore

GetSequenceIdStores() 공개 메소드

Gets all sequence definitions available.
public GetSequenceIdStores ( ) : IEnumerable
리턴 IEnumerable

InsertOrUpdate() 공개 메소드

Saves the specified sequence schema, overwriting the existing schema if applicable. The schema does not contain the current latest sequence value.
public InsertOrUpdate ( SequenceIdSchema sequence ) : void
sequence Candor.Data.SequenceIdSchema
리턴 void

TryWrite() 공개 메소드

Tries to write the current sequence value for a table.
public TryWrite ( OptimisticSyncData syncData ) : bool
syncData Candor.Data.OptimisticSyncData The table name and current value for the sequence. Also an ETag representing /// the latest reserved value retrieved. The ETag must match the curent stored value for the update/write /// to succeed.
리턴 bool