Class ValidateOnOpenMode

java.lang.Object
io.objectbox.model.ValidateOnOpenMode

@Deprecated public final class ValidateOnOpenMode extends Object
Deprecated.
This class has moved to the config package, use ValidateOnOpenModePages instead.
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
    Deprecated.
    Performs a unlimited number of checks on the most important database structures (e.g.
    static final short
    Deprecated.
    Performs a unlimited number of checks on database structures including "data leaves".
    static final String[]
    Deprecated.
     
    static final short
    Deprecated.
    No additional checks are performed.
    static final short
    Deprecated.
    Performs a limited number of checks on the most important database structures (e.g.
    static final short
    Deprecated.
    Not a real type, just best practice (e.g.
    static final short
    Deprecated.
    Performs a limited number of checks on database structures including "data leaves".
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Deprecated.
     
  • Method Summary

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

    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
      Deprecated.
      Not a real type, just best practice (e.g. forward compatibility)
      See Also:
    • 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:
    • 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:
    • WithLeaves

      public static final short WithLeaves
      Deprecated.
      Performs a limited number of checks on database structures including "data leaves".
      See Also:
    • 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:
    • Full

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

      public static final String[] names
      Deprecated.
  • Constructor Details

    • ValidateOnOpenMode

      private ValidateOnOpenMode()
      Deprecated.
  • Method Details

    • name

      public static String name(int e)
      Deprecated.