returns value associated with the key or throws NoSuchElementException
returns value associated with the key or throws NoSuchElementException
Starts or resumes background compaction.
Pauses background compaction process.
Closes store.
Finds key and returns value associated with the key.
Batch get with callback for result value.
Batch get with callback for result value.
Finds all keys from given iterable. Results are passed to callable consumer.
It uses lattest (most recent) version available in store
keys to lookup
callback method to consume results
Batch get.
Batch get.
Finds all keys from given iterable. Result is returned in an iterable of key-value pairs. If key is not found, null value is included in result pair.
It uses lattest (most recent) version available in store
keys to loopup
iterable over key-value pairs found in store
Returns value associated with the key, or defualt value from user
Returns value associated with the key, or defualt value from user
creates new journal file, if no file is opened
creates new journal file, if no file is opened
Returns current versionID used by Store.
expand shard tails into linked lists
expand shard tails into linked lists
read files and reconstructs linked list of updates
read files and reconstructs linked list of updates
Reverts to an older versionID.
closes and deletes files which are no longer needed
Task ran periodically in background thread.
Task ran periodically in background thread. It distributes content of Journal between Shards.
Batch update records.
Batch update records.
Each update increments versionID. New versionID is passed as an argument.
Update might remove some key-value pairs, or can insert new key-value pairs. Iterable of keys to be deleted, and iterable of key-value pairs to be updated is passed as an argument.
new versionID associated with this update
iterable over keys which will be deleted in this update
iterable over key-value pairs which will be inserted in this update
Created by jan on 18.1.17.