Package io.objectbox.model
Class ValidateOnOpenMode
- java.lang.Object
-
- io.objectbox.model.ValidateOnOpenMode
-
@Deprecated public final class ValidateOnOpenMode extends java.lang.ObjectDeprecated.This class has moved to the config package, useValidateOnOpenModePagesinstead.Defines if and how the database is checked for structural consistency (pages) when opening it.
-
-
Field Summary
Fields Modifier and Type Field Description static shortAllBranchesDeprecated.Performs a unlimited number of checks on the most important database structures (e.g.static shortFullDeprecated.Performs a unlimited number of checks on database structures including "data leaves".static java.lang.String[]namesDeprecated.static shortNoneDeprecated.No additional checks are performed.static shortRegularDeprecated.Performs a limited number of checks on the most important database structures (e.g.static shortUnknownDeprecated.Not a real type, just best practice (e.g.static shortWithLeavesDeprecated.Performs a limited number of checks on database structures including "data leaves".
-
Constructor Summary
Constructors Modifier Constructor Description privateValidateOnOpenMode()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.Stringname(int e)Deprecated.
-
-
-
Field Detail
-
Unknown
public static final short Unknown
Deprecated.Not a real type, just best practice (e.g. forward compatibility)- See Also:
- Constant Field Values
-
None
public static final short None
Deprecated.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
Deprecated.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
Deprecated.Performs a limited number of checks on database structures including "data leaves".- See Also:
- Constant Field Values
-
AllBranches
public static final short AllBranches
Deprecated.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
Deprecated.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
Deprecated.
-
-