@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AssuredReplicationServerResult extends java.lang.Object implements java.io.Serializable
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.
Constructor and Description |
---|
AssuredReplicationServerResult(AssuredReplicationServerResultCode resultCode,
java.lang.Short replicationServerID,
java.lang.Short replicaID)
Creates a new assured replication server result with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getReplicaID()
Retrieves the replica ID for the directory server with which this server
result is associated, if applicable.
|
java.lang.Short |
getReplicationServerID()
Retrieves the server ID for the replication server from which this server
result was obtained, if available.
|
AssuredReplicationServerResultCode |
getResultCode()
Retrieves the result code that indicates the state of assurance processing
for this server result.
|
java.lang.String |
toString()
Retrieves a string representation of this assured replication server
result.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this assured replication server result
to the provided buffer.
|
public AssuredReplicationServerResult(@NotNull AssuredReplicationServerResultCode resultCode, @Nullable java.lang.Short replicationServerID, @Nullable java.lang.Short replicaID)
resultCode
- The result code that indicates the state of
assurance processing for the associated
replication server and/or directory server.
It must not be null
.replicationServerID
- The server ID of the replication server from
which this server result was obtained. It may
be null
if 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 be
null
if no replica ID is available
for this result.@NotNull public AssuredReplicationServerResultCode getResultCode()
@Nullable public java.lang.Short getReplicationServerID()
null
if no replication server ID
is available.@Nullable public java.lang.Short getReplicaID()
null
if there is no associated
directory server.@NotNull public java.lang.String toString()
toString
in class java.lang.Object