@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AssuredReplicationRemoteLevel extends java.lang.Enum<AssuredReplicationRemoteLevel>
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 |
---|
NONE
Indicates that no remote assurance is desired for the associated operation.
|
PROCESSED_ALL_REMOTE_SERVERS
Indicates that the operation result should not be returned to the client
until the change has been processed by all available servers in all remote
locations.
|
RECEIVED_ALL_REMOTE_LOCATIONS
Indicates that the operation result should not be returned to the client
until the change has been received by at least one replication server in
each of the remote locations.
|
RECEIVED_ANY_REMOTE_LOCATION
Indicates that the operation result should not be returned to the client
until the change has been received by at least one replication server in a
different location.
|
Modifier and Type | Method and Description |
---|---|
static AssuredReplicationRemoteLevel |
forName(java.lang.String name)
Retrieves the remote assurance level with the specified name.
|
static AssuredReplicationRemoteLevel |
getLessStrict(AssuredReplicationRemoteLevel l1,
AssuredReplicationRemoteLevel l2)
Retrieves the less strict of the two provided assured replication remote
level values.
|
static AssuredReplicationRemoteLevel |
getMoreStrict(AssuredReplicationRemoteLevel l1,
AssuredReplicationRemoteLevel l2)
Retrieves the more strict of the two provided assured replication remote
level values.
|
java.lang.String |
getName()
Retrieves the name for this remote assurance level.
|
int |
intValue()
Retrieves integer value for this remote assurance level.
|
static AssuredReplicationRemoteLevel |
valueOf(int intValue)
Retrieves the remote assurance level with the specified integer value.
|
static AssuredReplicationRemoteLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssuredReplicationRemoteLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssuredReplicationRemoteLevel NONE
public static final AssuredReplicationRemoteLevel RECEIVED_ANY_REMOTE_LOCATION
public static final AssuredReplicationRemoteLevel RECEIVED_ALL_REMOTE_LOCATIONS
public static final AssuredReplicationRemoteLevel PROCESSED_ALL_REMOTE_SERVERS
public static AssuredReplicationRemoteLevel[] values()
for (AssuredReplicationRemoteLevel c : AssuredReplicationRemoteLevel.values()) System.out.println(c);
public static AssuredReplicationRemoteLevel 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()
@NotNull public java.lang.String getName()
@Nullable public static AssuredReplicationRemoteLevel valueOf(int intValue)
intValue
- The integer value for the remote assurance level to
retrieve.null
if there is
no remote assurance level with the specified integer value.@Nullable public static AssuredReplicationRemoteLevel forName(@NotNull java.lang.String name)
name
- The name of the remote assurance level to retrieve. It must
not be null
.null
if no such
level is defined.@NotNull public static AssuredReplicationRemoteLevel getLessStrict(@NotNull AssuredReplicationRemoteLevel l1, @NotNull AssuredReplicationRemoteLevel l2)
l1
- The first value to compare.l2
- The second value to compare.@NotNull public static AssuredReplicationRemoteLevel getMoreStrict(@NotNull AssuredReplicationRemoteLevel l1, @NotNull AssuredReplicationRemoteLevel l2)
l1
- The first value to compare.l2
- The second value to compare.