Adds a new KeyValueStoreWriteBuffer class to DataCore.Adapter.Abstractions.
KeyValueStoreWriteBuffer allows IKeyValueStore implementations to put pending write and delete actions in an in-memory buffer that invokes a callback to flush the pending changes on a periodic basis, or if the number of pending changes or the overall byte size of the changes hit their respective limits.
The SQLite-based store has been modified to replace its own write buffer with KeyValueStoreWriteBuffer and the file system-based store can now use the same write buffer.
Adds a new
KeyValueStoreWriteBuffer
class toDataCore.Adapter.Abstractions
.KeyValueStoreWriteBuffer
allowsIKeyValueStore
implementations to put pending write and delete actions in an in-memory buffer that invokes a callback to flush the pending changes on a periodic basis, or if the number of pending changes or the overall byte size of the changes hit their respective limits.The SQLite-based store has been modified to replace its own write buffer with
KeyValueStoreWriteBuffer
and the file system-based store can now use the same write buffer.