@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AssuredReplicationServerResultCode extends java.lang.Enum<AssuredReplicationServerResultCode>
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.
Enum Constant and Description |
---|
COMPLETE
Indicates that the requested level of assurance was successfully attained.
|
CONFLICT
Indicates that a replication conflict was encountered that will prevent
the associated operation from being applied to the target server.
|
DUPLICATE
Indicates that the replication assurance engine detected a duplicate
request for the same operation.
|
SERVER_SHUTDOWN
Indicates that the target server was shut down while waiting for an
assurance result.
|
TIMEOUT
Indicates that the requested level of assurance could not be attained
before the timeout elapsed.
|
UNAVAILABLE
Indicates that the target server became unavailable while waiting for an
assurance result.
|
Modifier and Type | Method and Description |
---|---|
static AssuredReplicationServerResultCode |
forName(java.lang.String name)
Retrieves the assured replication server result code with the specified
name.
|
int |
intValue()
Retrieves the integer value for this assured replication server result
code.
|
static AssuredReplicationServerResultCode |
valueOf(int intValue)
Retrieves the assured replication server result code with the specified
integer value.
|
static AssuredReplicationServerResultCode |
valueOf(java.lang.String name)
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.
|
public static final AssuredReplicationServerResultCode COMPLETE
public static final AssuredReplicationServerResultCode TIMEOUT
public static final AssuredReplicationServerResultCode CONFLICT
public static final AssuredReplicationServerResultCode SERVER_SHUTDOWN
public static final AssuredReplicationServerResultCode UNAVAILABLE
public static final AssuredReplicationServerResultCode DUPLICATE
public static AssuredReplicationServerResultCode[] values()
for (AssuredReplicationServerResultCode c : AssuredReplicationServerResultCode.values()) System.out.println(c);
public static AssuredReplicationServerResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int intValue()
@Nullable public static AssuredReplicationServerResultCode valueOf(int intValue)
intValue
- The integer value for the server result code to
retrieve.null
if there is no server result code with the specified
integer value.@Nullable public static AssuredReplicationServerResultCode forName(@NotNull java.lang.String name)
name
- The name of the assured replication server result code to
retrieve. It must not be null
.null
if no such result code is defined.