Uses of Class
hudson.util.Retrier.Builder
-
Packages that use Retrier.Builder Package Description hudson.util Other miscellaneous utility code -
-
Uses of Retrier.Builder in hudson.util
Methods in hudson.util that return Retrier.Builder Modifier and Type Method Description Retrier.Builder<V>
Retrier.Builder. withAttempts(int attempts)
Set the number of attempts trying to perform the action.Retrier.Builder<V>
Retrier.Builder. withDelay(long millis)
Set the time in milliseconds to wait for the next attempt.Retrier.Builder<V>
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<V>
Retrier.Builder. withDuringActionExceptions(Class<?>[] exceptions)
Set all the exceptions that are allowed and indicate that the action was failed.
-