Class AssuredReplicationServerResult
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationServerResult
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class AssuredReplicationServerResult
extends Object
implements Serializable
This class defines a data structure that provides information about the
result of assured replication processing, either on a replication server (if
that is all that is needed to satisfy the desired level of assurance) or
on a directory server (if required by the desired level of assurance).
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssuredReplicationServerResult(AssuredReplicationServerResultCode resultCode, Short replicationServerID, Short replicaID) Creates a new assured replication server result with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the replica ID for the directory server with which this server result is associated, if applicable.Retrieves the server ID for the replication server from which this server result was obtained, if available.Retrieves the result code that indicates the state of assurance processing for this server result.toString()Retrieves a string representation of this assured replication server result.voidtoString(StringBuilder buffer) Appends a string representation of this assured replication server result to the provided buffer.
-
Constructor Details
-
AssuredReplicationServerResult
public AssuredReplicationServerResult(@NotNull AssuredReplicationServerResultCode resultCode, @Nullable Short replicationServerID, @Nullable Short replicaID) Creates a new assured replication server result with the provided information.- Parameters:
resultCode- The result code that indicates the state of assurance processing for the associated replication server and/or directory server. It must not benull.replicationServerID- The server ID of the replication server from which this server result was obtained. It may benullif no replication server ID is available for this result.replicaID- The replica ID of the directory server with which this result is associated. It may benullif no replica ID is available for this result.
-
-
Method Details
-
getResultCode
Retrieves the result code that indicates the state of assurance processing for this server result.- Returns:
- The result code for this server result.
-
getReplicationServerID
Retrieves the server ID for the replication server from which this server result was obtained, if available.- Returns:
- The server ID for the replication server from which this server
result was obtained, or
nullif no replication server ID is available.
-
getReplicaID
Retrieves the replica ID for the directory server with which this server result is associated, if applicable.- Returns:
- The replica ID for the directory server with which this server
result is associated, or
nullif there is no associated directory server.
-
toString
Retrieves a string representation of this assured replication server result. -
toString
Appends a string representation of this assured replication server result to the provided buffer.- Parameters:
buffer- The buffer to which the information should be appended.
-