Enum 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.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description TRUNCATED
Truncated via binary log.TRUNCATED_PERMANENTLY
Truncated via command. -
Method Summary
Modifier and Type Method Description static EnumSet<CheckpointRecord.Flag>
empty()
convenience method to get an EnumSet for "no flags"static CheckpointRecord.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static CheckpointRecord.Flag[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
empty
convenience method to get an EnumSet for "no flags"- Returns:
- the empty set of flags
-