Package io.aeron.archive
Enum Class ArchiveTool.VerifyOption
- All Implemented Interfaces:
Serializable,Comparable<ArchiveTool.VerifyOption>,Constable
- Enclosing class:
- ArchiveTool
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPerform checksum for each data frame within a segment file being verified.Enables verification for all segment files of a given recording. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveTool.VerifyOptionLookup theArchiveTool.VerifyOptionby string format of the command line flag.static ArchiveTool.VerifyOptionReturns the enum constant of this class with the specified name.static ArchiveTool.VerifyOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERIFY_ALL_SEGMENT_FILES
Enables verification for all segment files of a given recording. By default, only last segment file is verify. -
APPLY_CHECKSUM
Perform checksum for each data frame within a segment file being verified.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
byFlag
Lookup theArchiveTool.VerifyOptionby string format of the command line flag.- Parameters:
flag- command line option.- Returns:
- the
ArchiveTool.VerifyOptionwhich matches the flag or null if not found.
-