public class Jsck extends Object
Constructor and Description |
---|
Jsck(JsckConfig config) |
Modifier and Type | Method and Description |
---|---|
long |
check(KVStore kv,
Consumer<? super Issue> consumer)
Perform check.
|
public Jsck(JsckConfig config)
public long check(KVStore kv, Consumer<? super Issue> consumer)
kv
- key/value databaseconsumer
- recipient of any issues found; or null for noneIllegalArgumentException
- if database is not a Permazen database
(i.e., no format version key)IllegalArgumentException
- if a forced schema version is invalidIllegalArgumentException
- if the database's recorded schemas are mutually inconsistent
(requiring forced schema version overrides)Copyright © 2022. All rights reserved.