Enum CheckpointRecord.Flag

java.lang.Object
java.lang.Enum<CheckpointRecord.Flag>
com.illumon.iris.db.v2.locations.local.CheckpointRecord.Flag
All Implemented Interfaces:
Serializable, Comparable<CheckpointRecord.Flag>, java.lang.constant.Constable
Enclosing class:
CheckpointRecord

public static enum CheckpointRecord.Flag
extends Enum<CheckpointRecord.Flag>
Enumeration of flags that can be set on a checkpoint record. These will be serialized as a bitset.
  • Enum Constant Details

  • Method Details

    • values

      public static CheckpointRecord.Flag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CheckpointRecord.Flag valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • empty

      public static EnumSet<CheckpointRecord.Flag> empty()
      convenience method to get an EnumSet for "no flags"
      Returns:
      the empty set of flags