Package org.ldaptive
Class LdapURLRetryMetadata
java.lang.Object
org.ldaptive.AbstractRetryMetadata
org.ldaptive.LdapURLRetryMetadata
- All Implemented Interfaces:
RetryMetadata
Retry metadata used by
LdapURL
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConnectionStrategy
Connection strategy associated with this retry.Fields inherited from class org.ldaptive.AbstractRetryMetadata
failureTime, successTime
-
Constructor Summary
ConstructorsConstructorDescriptionLdapURLRetryMetadata
(ConnectionStrategy strategy) Creates a new LDAP URL retry metadata. -
Method Summary
Methods inherited from class org.ldaptive.AbstractRetryMetadata
getAttempts, getFailureTime, getSuccessTime, recordFailure, recordSuccess
-
Field Details
-
connectionStrategy
Connection strategy associated with this retry.
-
-
Constructor Details
-
LdapURLRetryMetadata
Creates a new LDAP URL retry metadata.- Parameters:
strategy
- connection strategy
-
-
Method Details
-
getConnectionStrategy
Return the connection strategy.- Returns:
- connection strategy
-
toString
- Overrides:
toString
in classAbstractRetryMetadata
-