Package org.ldaptive

Class PooledConnectionFactory.RetryValidationExceptionHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Connection apply​(ValidationException e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • RetryValidationExceptionHandler

        public RetryValidationExceptionHandler()
        Creates a new retry validation exception handler.
      • RetryValidationExceptionHandler

        public RetryValidationExceptionHandler​(java.util.function.BiPredicate<java.lang.Integer,​java.time.Instant> condition)
        Creates a new retry validation exception handler.
        Parameters:
        condition - on which to retry