Package io.objectbox.config
Class ValidateOnOpenModePages
- java.lang.Object
-
- io.objectbox.config.ValidateOnOpenModePages
-
public final class ValidateOnOpenModePages extends java.lang.ObjectDefines if and how the database is checked for structural consistency (pages) when opening it.
-
-
Field Summary
Fields Modifier and Type Field Description static shortAllBranchesPerforms a unlimited number of checks on the most important database structures (e.g.static shortFullPerforms a unlimited number of checks on database structures including "data leaves".static java.lang.String[]namesstatic shortNoneNo additional checks are performed.static shortRegularPerforms a limited number of checks on the most important database structures (e.g.static shortUnknownNot a real type, just best practice (e.g.static shortWithLeavesPerforms a limited number of checks on database structures including "data leaves".
-
Constructor Summary
Constructors Modifier Constructor Description privateValidateOnOpenModePages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringname(int e)
-
-
-
Field Detail
-
Unknown
public static final short Unknown
Not a real type, just best practice (e.g. forward compatibility)- See Also:
- Constant Field Values
-
None
public static final short None
No additional checks are performed. This is fine if your file system is reliable (which it typically should be).- See Also:
- Constant Field Values
-
Regular
public static final short Regular
Performs a limited number of checks on the most important database structures (e.g. "branch pages").- See Also:
- Constant Field Values
-
WithLeaves
public static final short WithLeaves
Performs a limited number of checks on database structures including "data leaves".- See Also:
- Constant Field Values
-
AllBranches
public static final short AllBranches
Performs a unlimited number of checks on the most important database structures (e.g. "branch pages").- See Also:
- Constant Field Values
-
Full
public static final short Full
Performs a unlimited number of checks on database structures including "data leaves".- See Also:
- Constant Field Values
-
names
public static final java.lang.String[] names
-
-