Enum Class CheckpointRecord.Flag
- All Implemented Interfaces:
Serializable
,Comparable<CheckpointRecord.Flag>
,java.lang.constant.Constable
- Enclosing class:
- CheckpointRecord
Enumeration of flags that can be set on a checkpoint record.
These will be serialized as a bitset.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTruncated via binary log.Truncated via command. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<CheckpointRecord.Flag>
empty()
convenience method to get an EnumSet for "no flags"static CheckpointRecord.Flag
Returns the enum constant of this class with the specified name.static CheckpointRecord.Flag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRUNCATED
Truncated via binary log. Continued logging is permitted. -
TRUNCATED_PERMANENTLY
Truncated via command. Continued logging is not permitted without outside intervention.
-
-
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
-
empty
convenience method to get an EnumSet for "no flags"- Returns:
- the empty set of flags
-