Enum Class 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

    • TRUNCATED

      public static final CheckpointRecord.Flag TRUNCATED
      Truncated via binary log. Continued logging is permitted.
    • TRUNCATED_PERMANENTLY

      public static final CheckpointRecord.Flag TRUNCATED_PERMANENTLY
      Truncated via command. Continued logging is not permitted without outside intervention.
  • Method Details

    • values

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

      public static CheckpointRecord.Flag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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