@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface BackendSet
Modifier and Type | Method and Description |
---|---|
java.util.List<BackendServer> |
getBackendServers()
Retrieves the list of servers associated with this backend set.
|
java.lang.String |
getBackendSetID()
Retrieves a unique identifier for this backend set.
|
java.lang.String |
getConfigEntryDN()
Retrieves the DN of the configuration entry for the proxying request
processor that defines this backend set.
|
LDAPConnection |
getConnection(LDAPConnectionOptions options,
OperationType... opTypes)
Retrieves a newly-established connection to one of the servers in this
backend set which is capable of processing all of the specified types of
operations.
|
java.lang.String getBackendSetID()
java.lang.String getConfigEntryDN()
java.util.List<BackendServer> getBackendServers()
LDAPConnection getConnection(LDAPConnectionOptions options, OperationType... opTypes) throws LDAPException
options
- The set of connection options to use for the connection.
It may be null
if a default set of connection
options should be used.opTypes
- The types of operations expected to be processed on the
connection that is created. It must not be null
or empty.LDAPException
- If a problem occurred while attempting to create
the connection, or if none of the backend servers
is available for the provided set of operation
types.