|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface BackendSet
This interface defines a set of methods that may be used to interact with a set of backend servers to be accessed through an entry-balancing request processor. All the servers in the set will have an identical set of data for the entry-balanced portion.
Method Summary | |
---|---|
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. |
com.unboundid.ldap.sdk.LDAPConnection |
getConnection(com.unboundid.ldap.sdk.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. |
Method Detail |
---|
java.lang.String getBackendSetID()
java.lang.String getConfigEntryDN()
java.util.List<BackendServer> getBackendServers()
com.unboundid.ldap.sdk.LDAPConnection getConnection(com.unboundid.ldap.sdk.LDAPConnectionOptions options, OperationType... opTypes) throws com.unboundid.ldap.sdk.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.
com.unboundid.ldap.sdk.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |