Enum Class ArchiveTool.VerifyOption

java.lang.Object
java.lang.Enum<ArchiveTool.VerifyOption>
io.aeron.archive.ArchiveTool.VerifyOption
All Implemented Interfaces:
Serializable, Comparable<ArchiveTool.VerifyOption>, Constable
Enclosing class:
ArchiveTool

public static enum ArchiveTool.VerifyOption extends Enum<ArchiveTool.VerifyOption>
  • Enum Constant Details

    • VERIFY_ALL_SEGMENT_FILES

      public static final ArchiveTool.VerifyOption VERIFY_ALL_SEGMENT_FILES
      Enables verification for all segment files of a given recording. By default, only last segment file is verify.
    • APPLY_CHECKSUM

      public static final ArchiveTool.VerifyOption APPLY_CHECKSUM
      Perform checksum for each data frame within a segment file being verified.
  • Method Details

    • values

      public static ArchiveTool.VerifyOption[] 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 ArchiveTool.VerifyOption 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
    • byFlag

      public static ArchiveTool.VerifyOption byFlag(String flag)
      Lookup the ArchiveTool.VerifyOption by string format of the command line flag.
      Parameters:
      flag - command line option.
      Returns:
      the ArchiveTool.VerifyOption which matches the flag or null if not found.