Blocking Json Store
The operations of JsonStore without coroutines, obtained from JsonStore.blocking. Thread-safe.
It is a view of a JsonStore and deliberately not AutoCloseable: the JsonStore owns the directory lock and the files, so it is the JsonStore that is closed, typically with JsonStore.open(dir).use { … }.
Functions
See JsonStore.assignType.
See JsonStore.clearType.
See JsonStore.delete.
See JsonStore.deleteAll.
The differences of ReadableJsonStore.diff, at most DiffOptions.maxDifferences of them.
See JsonStore.insert.
Inserts a document given as a string; meant for small documents.
See JsonStore.insertAll.
See JsonStore.replace.
Starts a search on the current state; close the result when done.
See ReadableJsonStore.verify; throwing from progress stops the scrub with that exception.