Enum Class Topology.RegisteredStatus
java.lang.Object
java.lang.Enum<Topology.RegisteredStatus>
org.forgerock.opendj.server.leaderbasedreplication.Topology.RegisteredStatus
- All Implemented Interfaces:
Serializable
,Comparable<Topology.RegisteredStatus>
,java.lang.constant.Constable
- Enclosing class:
- Topology
The status of a replica.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReplica contains too old data and the topology does not contain the required changes which would allow the replica to reach consistency: it must not be used to replicate changes.Replica is replicating correctly: it can be used to replicate changes.Replica is not ready yet to replicate but should be in the future: it can retrieve changes but must not be used to replicate changes. -
Method Summary
Modifier and TypeMethodDescriptionstatic Topology.RegisteredStatus
Returns the enum constant of this class with the specified name.static Topology.RegisteredStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID
Replica is replicating correctly: it can be used to replicate changes. -
WAIT_SYNCHRO
Replica is not ready yet to replicate but should be in the future: it can retrieve changes but must not be used to replicate changes. -
TOO_OLD
Replica contains too old data and the topology does not contain the required changes which would allow the replica to reach consistency: it must not be used to replicate changes.
-
-
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
-