Uses of Class
hudson.util.Retrier.Builder
Packages that use Retrier.Builder
-
Uses of Retrier.Builder in hudson.util
Methods in hudson.util that return Retrier.BuilderModifier and TypeMethodDescriptionRetrier.Builder.withAttempts
(int attempts) Set the number of attempts trying to perform the action.Retrier.Builder.withDelay
(long millis) Set the time in milliseconds to wait for the next attempt.Retrier.Builder.withDuringActionExceptionListener
(BiFunction<Integer, Exception, V> exceptionListener) Set the listener to be executed when an allowed exception is raised when performing the action.Retrier.Builder.withDuringActionExceptions
(Class<?>[] exceptions) Set all the exceptions that are allowed and indicate that the action was failed.