Class ValidateOnOpenModePages

java.lang.Object
io.objectbox.config.ValidateOnOpenModePages

public final class ValidateOnOpenModePages extends 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 final short
    Performs a unlimited number of checks on the most important database structures (e.g.
    static final short
    Performs a unlimited number of checks on database structures including "data leaves".
    static final String[]
     
    static final short
    No additional checks are performed.
    static final short
    Performs a limited number of checks on the most important database structures (e.g.
    static final short
    Not a real type, just best practice (e.g.
    static final short
    Performs a limited number of checks on database structures including "data leaves".
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    name(int e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • Unknown

      public static final short Unknown
      Not a real type, just best practice (e.g. forward compatibility)
      See Also:
    • 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:
    • Regular

      public static final short Regular
      Performs a limited number of checks on the most important database structures (e.g. "branch pages").
      See Also:
    • WithLeaves

      public static final short WithLeaves
      Performs a limited number of checks on database structures including "data leaves".
      See Also:
    • AllBranches

      public static final short AllBranches
      Performs a unlimited number of checks on the most important database structures (e.g. "branch pages").
      See Also:
    • Full

      public static final short Full
      Performs a unlimited number of checks on database structures including "data leaves".
      See Also:
    • names

      public static final String[] names
  • Method Details

    • name

      public static String name(int e)