Uses of Interface
org.broadinstitute.http.nio.RetryHandler.IOSupplier
Packages that use RetryHandler.IOSupplier
-
Uses of RetryHandler.IOSupplier in org.broadinstitute.http.nio
Methods in org.broadinstitute.http.nio with parameters of type RetryHandler.IOSupplierModifier and TypeMethodDescription<T> T
RetryHandler.runWithRetries
(RetryHandler.IOSupplier<T> toRun) A function to run and potentially retry if an error occurs and meets the retry criteria Note that functions may be run repeatedly so any state which is changed during an unsuccessful attempt must not poison the class.private <T> T
RetryHandler.runWithRetries
(RetryHandler.IOSupplier<T> toRun, IOException previousError) <T> T
RetryHandler.tryOnceThenWithRetries
(RetryHandler.IOSupplier<T> runFirst, RetryHandler.IOSupplier<T> thenRunAndRetry) First attempt the runFirst function.