public interface LoadBalancerEventListener extends EventListener
NOTE: load-balancer implementations must ensure that only one event is sent at a time. Event listener implementations should not need to be thread safe.
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnectionFactoryOffline(ConnectionFactory factory,
LdapException error)
Invoked when the load-balancer is unable to obtain a connection from the
specified connection factory.
|
void |
handleConnectionFactoryOnline(ConnectionFactory factory)
Invoked when the load-balancer detects that a previously offline
connection factory is available for use again.
|
void handleConnectionFactoryOffline(ConnectionFactory factory, LdapException error)
factory - The connection factory which has failed.error - The last error that occurred.void handleConnectionFactoryOnline(ConnectionFactory factory)
factory - The connection factory which is now available for use.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.