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 classAbstractRetryMetadataCommon implementation of retry metadata.classClosedRetryMetadataRetry metadata used when a connection is unexpectedly closed.classInitialRetryMetadataRetry metadata used when a connection is opened.classLdapURLRetryMetadataRetry metadata used byLdapURL.Fields in org.ldaptive with type parameters of type RetryMetadata Modifier and Type Field Description private Predicate<RetryMetadata>ConnectionConfig. autoReconnectConditionCondition used to determine whether another reconnect attempt should be made.static Predicate<RetryMetadata>ConnectionConfig. INFINITE_RECONNECT_ATTEMPTSPredicate that attempts to reconnect forever, waiting for 5 seconds after the first attempt.static Predicate<RetryMetadata>ConnectionConfig. INFINITE_RECONNECT_ATTEMPTS_WITH_BACKOFFPredicate that attempts to reconnect forever, backing off in 5 second intervals after the first attempt.static Predicate<RetryMetadata>ConnectionConfig. ONE_RECONNECT_ATTEMPTPredicate 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.BuilderConnectionConfig.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 RetryMetadata Modifier and Type Method Description protected 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.
-