Package io.aeron.cluster
Enum Class ClusterBackup.Configuration.ReplayStart
java.lang.Object
java.lang.Enum<ClusterBackup.Configuration.ReplayStart>
io.aeron.cluster.ClusterBackup.Configuration.ReplayStart
- All Implemented Interfaces:
Serializable,Comparable<ClusterBackup.Configuration.ReplayStart>,Constable
- Enclosing class:
- ClusterBackup.Configuration
public static enum ClusterBackup.Configuration.ReplayStart
extends Enum<ClusterBackup.Configuration.ReplayStart>
Determines what position to start from when backing up the log from the cluster.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStart from the earliest available position in the cluster log.Start backing up from the log position of the most recent snapshot in the log. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEGINNING
Start from the earliest available position in the cluster log. May not be 0 if the cluster log was truncated at some point. -
LATEST_SNAPSHOT
Start backing up from the log position of the most recent snapshot in the log.
-
-
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
-