public interface LDAPRequest extends Cloneable
Modifier and Type | Method and Description |
---|---|
LDAPRequest |
clone()
Creates and returns a copy of this request that may be modified without impacting
this request.
|
long |
getQueryTimeout()
Returns the maximum time, in milliseconds, to wait for a response from the server
when processing this request.
|
LDAPRequest |
setQueryTimeout(long timeout)
Sets the maximum time, in milliseconds, to wait for a response from the server
when processing this request.
|
LDAPRequest clone()
long getQueryTimeout()
LDAPRequest setQueryTimeout(long timeout)
A value of zero indicates that no timeout should be enforced.
A value that is less than zero indicates that the default query timeout for the underlying connection should be used.
timeout
- the maximum time, in milliseconds, to wait for a response from
the server when processing this request.