|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AssuredReplicationLocalLevel>
com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationLocalLevel
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AssuredReplicationLocalLevel
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This enum defines an assurance level that may be used for servers in the same location as the server receiving the change.
Enum Constant Summary | |
---|---|
NONE
Indicates that no local assurance is desired for the associated operation. |
|
PROCESSED_ALL_SERVERS
Indicates that the operation result should not be returned to the client until the change has been processed by all available directory servers in the same location as the original server. |
|
RECEIVED_ANY_SERVER
Indicates that the operation result should not be returned to the client until the change has been received by at least one other replication server in same location. |
Method Summary | |
---|---|
static AssuredReplicationLocalLevel |
getLessStrict(AssuredReplicationLocalLevel l1,
AssuredReplicationLocalLevel l2)
Retrieves the less strict of the two provided assured replication local level values. |
static AssuredReplicationLocalLevel |
getMoreStrict(AssuredReplicationLocalLevel l1,
AssuredReplicationLocalLevel l2)
Retrieves the more strict of the two provided assured replication local level values. |
int |
intValue()
Retrieves integer value for this local assurance level. |
static AssuredReplicationLocalLevel |
valueOf(int intValue)
Retrieves the local assurance level with the specified integer value. |
static AssuredReplicationLocalLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AssuredReplicationLocalLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AssuredReplicationLocalLevel NONE
public static final AssuredReplicationLocalLevel RECEIVED_ANY_SERVER
public static final AssuredReplicationLocalLevel PROCESSED_ALL_SERVERS
Method Detail |
---|
public static AssuredReplicationLocalLevel[] values()
for (AssuredReplicationLocalLevel c : AssuredReplicationLocalLevel.values()) System.out.println(c);
public static AssuredReplicationLocalLevel 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 name
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
public static AssuredReplicationLocalLevel valueOf(int intValue)
intValue
- The integer value for the local assurance level to
retrieve.
null
if there is
no local assurance level with the specified integer value.public static AssuredReplicationLocalLevel getLessStrict(AssuredReplicationLocalLevel l1, AssuredReplicationLocalLevel l2)
l1
- The first value to compare.l2
- The second value to compare.
public static AssuredReplicationLocalLevel getMoreStrict(AssuredReplicationLocalLevel l1, AssuredReplicationLocalLevel l2)
l1
- The first value to compare.l2
- The second value to compare.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |