Enum ReplicationSynchronizationProviderCfgDefn.IsolationPolicy
- java.lang.Object
-
- java.lang.Enum<ReplicationSynchronizationProviderCfgDefn.IsolationPolicy>
-
- org.forgerock.opendj.server.config.meta.ReplicationSynchronizationProviderCfgDefn.IsolationPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<ReplicationSynchronizationProviderCfgDefn.IsolationPolicy>
- Enclosing class:
- ReplicationSynchronizationProviderCfgDefn
public static enum ReplicationSynchronizationProviderCfgDefn.IsolationPolicy extends Enum<ReplicationSynchronizationProviderCfgDefn.IsolationPolicy>
Defines the set of permissible values for the "isolation-policy" property.Specifies the behavior of the directory server when writing to replicated data while none of the configured Replication Servers are available.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT_ALL_UPDATES
The server accepts updates even when it cannot send them to any Replication Server.REJECT_ALL_UPDATES
Indicates that all updates attempted on this Replication Synchronization Provider are rejected when no Replication Server is available.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ReplicationSynchronizationProviderCfgDefn.IsolationPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReplicationSynchronizationProviderCfgDefn.IsolationPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT_ALL_UPDATES
public static final ReplicationSynchronizationProviderCfgDefn.IsolationPolicy ACCEPT_ALL_UPDATES
The server accepts updates even when it cannot send them to any Replication Server. When a Replication Server again becomes available, the server attempts to resend the updates. This does not guarantee that updates will be successfully resent. This mode can cause high replication latency.
-
REJECT_ALL_UPDATES
public static final ReplicationSynchronizationProviderCfgDefn.IsolationPolicy REJECT_ALL_UPDATES
Indicates that all updates attempted on this Replication Synchronization Provider are rejected when no Replication Server is available.
-
-
Method Detail
-
values
public static ReplicationSynchronizationProviderCfgDefn.IsolationPolicy[] 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 (ReplicationSynchronizationProviderCfgDefn.IsolationPolicy c : ReplicationSynchronizationProviderCfgDefn.IsolationPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReplicationSynchronizationProviderCfgDefn.IsolationPolicy 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:
toString
in classEnum<ReplicationSynchronizationProviderCfgDefn.IsolationPolicy>
-
-