Package io.objectbox.config
Class ValidateOnOpenModePages
- java.lang.Object
-
- io.objectbox.config.ValidateOnOpenModePages
-
public final class ValidateOnOpenModePages extends java.lang.Object
Defines if and how the database is checked for structural consistency (pages) when opening it.
-
-
Field Summary
Fields Modifier and Type Field Description static short
AllBranches
Performs a unlimited number of checks on the most important database structures (e.g.static short
Full
Performs a unlimited number of checks on database structures including "data leaves".static java.lang.String[]
names
static short
None
No additional checks are performed.static short
Regular
Performs a limited number of checks on the most important database structures (e.g.static short
Unknown
Not a real type, just best practice (e.g.static short
WithLeaves
Performs a limited number of checks on database structures including "data leaves".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
name(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
-
-