internal void CommitWritingTransaction(IRootNode artRoot) { lock (_writeLock) { _writingTransaction = null; if (_lastCommited.Dereference()) { _lastCommited.Dispose(); } _lastCommited = artRoot; _lastCommited.Commit(); TryDequeWaiterForWritingTransaction(); } }
public ArtInMemoryKeyValueDB(IOffHeapAllocator allocator) { _lastCommited = ARTImplV.CreateEmptyRoot(allocator); _lastCommited.Commit(); }