Package org.nuxeo.ecm.directory.ldap
Class LdapRetryHandler
java.lang.Object
org.nuxeo.ecm.directory.ldap.LdapRetryHandler
- All Implemented Interfaces:
InvocationHandler
Wrapper to encapsulate the calls to LDAP and retry the requests in case of ServiceUnavailableException errors
- Since:
- 5.7
- Author:
- Thierry Martins
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
dirContext
-
attemptsNumber
protected int attemptsNumber
-
-
Constructor Details
-
LdapRetryHandler
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
wrap
-