Uses of Interface
org.ldaptive.RetryMetadata
Packages that use RetryMetadata
-
Uses of RetryMetadata in org.ldaptive
Classes in org.ldaptive that implement RetryMetadataModifier and TypeClassDescriptionclass
Common implementation of retry metadata.class
Retry metadata used when a connection is unexpectedly closed.class
Retry metadata used when a connection is opened.class
Retry metadata used byLdapURL
.Fields in org.ldaptive with type parameters of type RetryMetadataModifier and TypeFieldDescriptionprivate Predicate<RetryMetadata>
ConnectionConfig.autoReconnectCondition
Condition used to determine whether another reconnect attempt should be made.static final Predicate<RetryMetadata>
ConnectionConfig.INFINITE_RECONNECT_ATTEMPTS
Predicate that attempts to reconnect forever, waiting for 5 seconds after the first attempt.static final 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 final Predicate<RetryMetadata>
ConnectionConfig.ONE_RECONNECT_ATTEMPT
Predicate that attempts a single reconnect.Methods in org.ldaptive that return types with arguments of type RetryMetadataModifier and TypeMethodDescriptionConnectionConfig.getAutoReconnectCondition()
Returns the auto reconnect condition.Method parameters in org.ldaptive with type arguments of type RetryMetadataModifier and TypeMethodDescriptionConnectionConfig.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 RetryMetadataModifier and TypeMethodDescriptionprotected 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.