public interface LoadBalancingAlgorithm extends Closeable
newLoadBalancer| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases any resources associated with this algorithm, including any
associated connection factories.
|
ConnectionFactory |
getConnectionFactory()
Returns a connection factory which should be used in order to satisfy the
next connection request.
|
void close()
close in interface AutoCloseableclose in interface CloseableConnectionFactory getConnectionFactory() throws LdapException
LdapException - If no connection factories are available for use.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.