C# Class 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)
Inheritance: IDisposable
Afficher le fichier Open project: hhblaze/DBreeze

Méthodes publiques

Свойство Type Description
Sync_NestedTables DBreeze.Utils.DbReaderWriterLock

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

CloseTable() public méthode

public CloseTable ( byte &key, long &rootStart ) : void
key byte
rootStart long
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Remove() public méthode

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

RemoveAll() public méthode

public RemoveAll ( ) : void
Résultat void

Property Details

Sync_NestedTables public_oe property

public DbReaderWriterLock,DBreeze.Utils Sync_NestedTables
Résultat DBreeze.Utils.DbReaderWriterLock