Enum ReplicationDomainCfgDefn.AssuredType
- java.lang.Object
-
- java.lang.Enum<ReplicationDomainCfgDefn.AssuredType>
-
- org.forgerock.opendj.server.config.meta.ReplicationDomainCfgDefn.AssuredType
-
- All Implemented Interfaces:
Serializable,Comparable<ReplicationDomainCfgDefn.AssuredType>
- Enclosing class:
- ReplicationDomainCfgDefn
public static enum ReplicationDomainCfgDefn.AssuredType extends Enum<ReplicationDomainCfgDefn.AssuredType>
Defines the set of permissable values for the "assured-type" property.Defines the assured replication mode of the replicated domain.
The assured replication can be disabled or enabled. When enabled, two modes are available: Safe Data or Safe Read modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_ASSUREDAssured replication is not enabled.SAFE_DATAAssured replication is enabled in Safe Data mode: updates sent for replication are subject to acknowledgment from the replication servers that have the same group ID as the local server (defined with the group-id property).SAFE_READAssured replication is enabled in Safe Read mode: updates sent for replication are subject to acknowledgments from the LDAP servers in the topology that have the same group ID as the local server (defined with the group-id property).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ReplicationDomainCfgDefn.AssuredTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReplicationDomainCfgDefn.AssuredType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_ASSURED
public static final ReplicationDomainCfgDefn.AssuredType NOT_ASSURED
Assured replication is not enabled. Updates sent for replication (for being replayed on other LDAP servers in the topology) are sent without waiting for any acknowledgment and the LDAP client call returns immediately.
-
SAFE_DATA
public static final ReplicationDomainCfgDefn.AssuredType SAFE_DATA
Assured replication is enabled in Safe Data mode: updates sent for replication are subject to acknowledgment from the replication servers that have the same group ID as the local server (defined with the group-id property). The number of acknowledgments to expect is defined by the assured-sd-level property. After acknowledgments are received, LDAP client call returns.
-
SAFE_READ
public static final ReplicationDomainCfgDefn.AssuredType SAFE_READ
Assured replication is enabled in Safe Read mode: updates sent for replication are subject to acknowledgments from the LDAP servers in the topology that have the same group ID as the local server (defined with the group-id property). After acknowledgments are received, LDAP client call returns.
-
-
Method Detail
-
values
public static ReplicationDomainCfgDefn.AssuredType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReplicationDomainCfgDefn.AssuredType c : ReplicationDomainCfgDefn.AssuredType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReplicationDomainCfgDefn.AssuredType valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ReplicationDomainCfgDefn.AssuredType>
-
-