Uses of Interface
org.ldaptive.RetryMetadata
Packages that use RetryMetadata
-
Uses of RetryMetadata in org.ldaptive
Classes in org.ldaptive that implement RetryMetadataModifier and TypeClassDescriptionclassCommon implementation of retry metadata.classRetry metadata used when a connection is unexpectedly closed.classRetry metadata used when a connection is opened.classRetry metadata used byLdapURL.Fields in org.ldaptive with type parameters of type RetryMetadataModifier and TypeFieldDescriptionprivate Predicate<RetryMetadata>ConnectionConfig.autoReconnectConditionCondition used to determine whether another reconnect attempt should be made.static final Predicate<RetryMetadata>ConnectionConfig.INFINITE_RECONNECT_ATTEMPTSPredicate that attempts to reconnect forever, waiting for 5 seconds after the first attempt.static final Predicate<RetryMetadata>ConnectionConfig.INFINITE_RECONNECT_ATTEMPTS_WITH_BACKOFFPredicate that attempts to reconnect forever, backing off in 5 second intervals after the first attempt.static final Predicate<RetryMetadata>ConnectionConfig.ONE_RECONNECT_ATTEMPTPredicate 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) voidConnectionConfig.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 voidTransportConnection.reopen(RetryMetadata metadata) Method to support reopening a connection that was previously established.protected voidTransportConnection.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.