Uses of Interface
org.ldaptive.RetryMetadata
-
Packages that use RetryMetadata Package Description org.ldaptive org.ldaptive.transport -
-
Uses of RetryMetadata in org.ldaptive
Classes in org.ldaptive that implement RetryMetadata Modifier and Type Class Description class
AbstractRetryMetadata
Common implementation of retry metadata.class
ClosedRetryMetadata
Retry metadata used when a connection is unexpectedly closed.class
InitialRetryMetadata
Retry metadata used when a connection is opened.class
LdapURLRetryMetadata
Retry metadata used byLdapURL
.Fields in org.ldaptive with type parameters of type RetryMetadata Modifier and Type Field Description private Predicate<RetryMetadata>
ConnectionConfig. autoReconnectCondition
Condition used to determine whether another reconnect attempt should be made.static Predicate<RetryMetadata>
ConnectionConfig. INFINITE_RECONNECT_ATTEMPTS
Predicate that attempts to reconnect forever, waiting for 5 seconds after the first attempt.static Predicate<RetryMetadata>
ConnectionConfig. INFINITE_RECONNECT_ATTEMPTS_WITH_BACKOFF
Predicate that attempts to reconnect forever, backing off in 5 second intervals after the first attempt.static Predicate<RetryMetadata>
ConnectionConfig. ONE_RECONNECT_ATTEMPT
Predicate that attempts a single reconnect.Methods in org.ldaptive that return types with arguments of type RetryMetadata Modifier and Type Method Description Predicate<RetryMetadata>
ConnectionConfig. getAutoReconnectCondition()
Returns the auto reconnect condition.Method parameters in org.ldaptive with type arguments of type RetryMetadata Modifier and Type Method Description ConnectionConfig.Builder
ConnectionConfig.Builder. autoReconnectCondition(Predicate<RetryMetadata> predicate)
void
ConnectionConfig. setAutoReconnectCondition(Predicate<RetryMetadata> predicate)
Sets the auto reconnect condition. -
Uses of RetryMetadata in org.ldaptive.transport
Methods in org.ldaptive.transport with parameters of type RetryMetadata Modifier and Type Method Description protected void
TransportConnection. reopen(RetryMetadata metadata)
Method to support reopening a connection that was previously established.protected void
TransportConnection. strategyOpen(RetryMetadata metadata)
Retrieves URLs from the connection strategy and attempts each one, in order, until a connection is made or the list is exhausted.
-