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 ConnectionStrategyConnection strategy associated with this retry.Fields inherited from class org.ldaptive.AbstractRetryMetadata
failureTime, successTime -
Constructor Summary
ConstructorsConstructorDescriptionLdapURLRetryMetadata(Clock clock, ConnectionStrategy strategy) Creates a new LDAP URL retry metadata.LdapURLRetryMetadata(ConnectionStrategy strategy) Creates a new LDAP URL retry metadata. -
Method Summary
Methods inherited from class org.ldaptive.AbstractRetryMetadata
getAttempts, getCreateTime, getFailureTime, getSuccessTime, recordFailure, recordSuccess
-
Field Details
-
connectionStrategy
Connection strategy associated with this retry.
-
-
Constructor Details
-
LdapURLRetryMetadata
LdapURLRetryMetadata(Clock clock, ConnectionStrategy strategy) Creates a new LDAP URL retry metadata.- Parameters:
clock- to set the create timestrategy- connection strategy
-
LdapURLRetryMetadata
Creates a new LDAP URL retry metadata.- Parameters:
strategy- connection strategy
-
-
Method Details
-
getConnectionStrategy
Return the connection strategy.- Returns:
- connection strategy
-
toString
- Overrides:
toStringin classAbstractRetryMetadata
-