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

public static enum Topology.RegisteredStatus extends Enum<Topology.RegisteredStatus>
The status of a replica.
  • Enum Constant Details

    • VALID

      public static final Topology.RegisteredStatus VALID
      Replica is replicating correctly: it can be used to replicate changes.
    • WAIT_SYNCHRO

      public static final Topology.RegisteredStatus 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

      public static final Topology.RegisteredStatus 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

      public static Topology.RegisteredStatus[] 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

      public static Topology.RegisteredStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null