com.unboundid.directory.sdk.common.types
Interface AssuredReplicationRequirements


@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public interface AssuredReplicationRequirements

This interface may be used to obtain information about the assured replication requirements that will be used for an operation.


Method Summary
 com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationLocalLevel getLocalLevel()
          Retrieves the local assurance level that will be used for the operation.
 com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationRemoteLevel getRemoteLevel()
          Retrieves the remote assurance level that will be used for the operation.
 long getTimeoutMillis()
          Retrieves the maximum length of time in milliseconds that the server should wait for assurance processing to complete before returning the operation result to the client.
 boolean isAlteredByRequestControl()
          Indicates whether the assured replication requirements that will be used for the operation were altered by an assured replication request control included in the operation request from the client.
 boolean isAssured()
          Indicates whether assured replication processing will be performed for the operation.
 boolean isResponseDelayed()
          Indicates whether the operation response to the client will be delayed until replication assurance processing has completed or the timeout has occurred.
 

Method Detail

isAssured

boolean isAssured()
Indicates whether assured replication processing will be performed for the operation.

Returns:
true if assured replication processing will be performed for the operation, or false if not.

getLocalLevel

com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationLocalLevel getLocalLevel()
Retrieves the local assurance level that will be used for the operation.

Returns:
The local assurance level that will be used for the operation.

getRemoteLevel

com.unboundid.ldap.sdk.unboundidds.controls.AssuredReplicationRemoteLevel getRemoteLevel()
Retrieves the remote assurance level that will be used for the operation.

Returns:
The remote assurance level that will be used for the operation.

getTimeoutMillis

long getTimeoutMillis()
Retrieves the maximum length of time in milliseconds that the server should wait for assurance processing to complete before returning the operation result to the client.

Returns:
The maximum length of time in milliseconds that the server should wait for assurance processing to complete before returning the operation result to the client.

isResponseDelayed

boolean isResponseDelayed()
Indicates whether the operation response to the client will be delayed until replication assurance processing has completed or the timeout has occurred.

Returns:
true if the operation response to the client will be delayed until replication assurance processing has completed, or false if not.

isAlteredByRequestControl

boolean isAlteredByRequestControl()
Indicates whether the assured replication requirements that will be used for the operation were altered by an assured replication request control included in the operation request from the client.

Returns:
true if the assured replication requirements have been altered by a request control provided by the client, or false if the assured replication requirements used for the operation are taken from a policy defined in the server configuration.