C# 클래스 DBreeze.LianaTrie.NestedTablesCoordinator

Represents a bound to the LTrie nested tables coordinator. 1. Gets ability to remember Inserted Tables to perform cascade commit. 2. Rebind internal root-start if 2 or more horizontal tables are inserted into 1 value during one transaction (value expand case)
상속: IDisposable
파일 보기 프로젝트 열기: hhblaze/DBreeze

공개 프로퍼티들

프로퍼티 타입 설명
Sync_NestedTables DBreeze.Utils.DbReaderWriterLock

공개 메소드들

메소드 설명
CloseTable ( byte &key, long &rootStart ) : void
Dispose ( ) : void
Remove ( byte &key ) : void

Cascade remove all of all nested and sub-nested tables under the key

RemoveAll ( ) : void

비공개 메소드들

메소드 설명
AddNestedTable ( byte &key, ulong fullValueStart, long rootStart, NestedTableInternal nestedTable ) : void

LTrie makes in case of InsertTable call

ChangeKeyAndMoveNestedTablesRootStart ( byte &oldKey, byte &newKey, ulong idNewFullValueStart, long valueStart ) : void
CloseAll ( ) : void
Commit ( ) : void

Committing nested tables

GetTable ( byte &key, long rootStart ) : NestedTableInternal

Returns null if table is not in the coordinator, otherwise returns reference to the table

IfKeyIsInNestedList ( byte &key ) : bool
MoveNestedTablesRootStart ( byte &key, ulong idNewFullValueStart, long valueStart ) : void
Rollback ( ) : void
TransactionalCommit ( ) : void

Transactional Commit Nested

TransactionalCommitFinished ( ) : void

Committing nested tables

TransactionalRollback ( ) : void

Transactional Rollback nested

메소드 상세

CloseTable() 공개 메소드

public CloseTable ( byte &key, long &rootStart ) : void
key byte
rootStart long
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Remove() 공개 메소드

Cascade remove all of all nested and sub-nested tables under the key
public Remove ( byte &key ) : void
key byte
리턴 void

RemoveAll() 공개 메소드

public RemoveAll ( ) : void
리턴 void

프로퍼티 상세

Sync_NestedTables 공개적으로 프로퍼티

public DbReaderWriterLock,DBreeze.Utils Sync_NestedTables
리턴 DBreeze.Utils.DbReaderWriterLock