Enum AssuredReplicationServerResultCode
java.lang.Object
java.lang.Enum<AssuredReplicationServerResultCode>
com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationServerResultCode
- All Implemented Interfaces:
Serializable,Comparable<AssuredReplicationServerResultCode>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum AssuredReplicationServerResultCode
extends Enum<AssuredReplicationServerResultCode>
This enum defines the set of result code values that may be included in a
an assured replication server result.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the requested level of assurance was successfully attained.Indicates that a replication conflict was encountered that will prevent the associated operation from being applied to the target server.Indicates that the replication assurance engine detected a duplicate request for the same operation.Indicates that the target server was shut down while waiting for an assurance result.Indicates that the requested level of assurance could not be attained before the timeout elapsed.Indicates that the target server became unavailable while waiting for an assurance result. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the assured replication server result code with the specified name.intintValue()Retrieves the integer value for this assured replication server result code.valueOf(int intValue) Retrieves the assured replication server result code with the specified integer value.Returns the enum constant of this type with the specified name.static AssuredReplicationServerResultCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPLETE
Indicates that the requested level of assurance was successfully attained. -
TIMEOUT
Indicates that the requested level of assurance could not be attained before the timeout elapsed. -
CONFLICT
Indicates that a replication conflict was encountered that will prevent the associated operation from being applied to the target server. -
SERVER_SHUTDOWN
Indicates that the target server was shut down while waiting for an assurance result. -
UNAVAILABLE
Indicates that the target server became unavailable while waiting for an assurance result. -
DUPLICATE
Indicates that the replication assurance engine detected a duplicate request for the same operation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
intValue
Retrieves the integer value for this assured replication server result code.- Returns:
- The integer value for this assured replication server result code.
-
valueOf
Retrieves the assured replication server result code with the specified integer value.- Parameters:
intValue- The integer value for the server result code to retrieve.- Returns:
- The requested assured replication server result code, or
nullif there is no server result code with the specified integer value.
-
forName
Retrieves the assured replication server result code with the specified name.- Parameters:
name- The name of the assured replication server result code to retrieve. It must not benull.- Returns:
- The requested assured replication server result code, or
nullif no such result code is defined.
-