Package org.ldaptive
Class LdapURLRetryMetadata
- java.lang.Object
-
- org.ldaptive.AbstractRetryMetadata
-
- org.ldaptive.LdapURLRetryMetadata
-
- All Implemented Interfaces:
RetryMetadata
public class LdapURLRetryMetadata extends AbstractRetryMetadata
Retry metadata used byLdapURL
.
-
-
Field Summary
Fields Modifier and Type Field Description private ConnectionStrategy
connectionStrategy
Connection strategy associated with this retry.-
Fields inherited from class org.ldaptive.AbstractRetryMetadata
failureTime, successTime
-
-
Constructor Summary
Constructors Constructor Description LdapURLRetryMetadata(ConnectionStrategy strategy)
Creates a new LDAP URL retry metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionStrategy
getConnectionStrategy()
Return the connection strategy.String
toString()
-
Methods inherited from class org.ldaptive.AbstractRetryMetadata
getAttempts, getFailureTime, getSuccessTime, recordFailure, recordSuccess
-
-
-
-
Field Detail
-
connectionStrategy
private final ConnectionStrategy connectionStrategy
Connection strategy associated with this retry.
-
-
Constructor Detail
-
LdapURLRetryMetadata
public LdapURLRetryMetadata(ConnectionStrategy strategy)
Creates a new LDAP URL retry metadata.- Parameters:
strategy
- connection strategy
-
-
Method Detail
-
getConnectionStrategy
public ConnectionStrategy getConnectionStrategy()
Return the connection strategy.- Returns:
- connection strategy
-
toString
public String toString()
- Overrides:
toString
in classAbstractRetryMetadata
-
-