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); }
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); }
internal Compactor(KeyValueDB keyValueDB, CancellationToken cancellation) { _keyValueDB = keyValueDB; _cancellation = cancellation; }