コード例 #1
0
 public KeyValueDBTransaction(KeyValueDB keyValueDB, IBTreeRootNode btreeRoot, bool writing, bool readOnly)
 {
     _preapprovedWriting = writing;
     _readOnly           = readOnly;
     _keyValueDB         = keyValueDB;
     _btreeRoot          = btreeRoot;
     _keyIndex           = -1;
     _cursorMovedCounter = 0;
     _keyValueDB.StartedUsingBTreeRoot(_btreeRoot);
 }
コード例 #2
0
 public KeyValueDBTransaction(KeyValueDB keyValueDB, IBTreeRootNode btreeRoot, bool writting, bool readOnly)
 {
     _preapprovedWritting = writting;
     _readOnly            = readOnly;
     _keyValueDB          = keyValueDB;
     _btreeRoot           = btreeRoot;
     _prefix         = BitArrayManipulation.EmptyByteArray;
     _prefixKeyStart = 0;
     _prefixKeyCount = -1;
     _keyIndex       = -1;
     _keyValueDB.StartedUsingBTreeRoot(_btreeRoot);
 }
コード例 #3
0
ファイル: Compactor.cs プロジェクト: pavolpr/BTDB
 internal Compactor(KeyValueDB keyValueDB, CancellationToken cancellation)
 {
     _keyValueDB   = keyValueDB;
     _cancellation = cancellation;
 }