/** * Repeatedly run this Nono at most the given number of times if it fails. * @param times the repeat count * @return the new Nono instance */ public final Nono retry(long times) { return onAssembly(new NonoRetry(this, times)); }
/** * Repeatedly run this Nono indefinitely if it fails. * @return the new Nono instance */ public final Nono retry() { return onAssembly(new NonoRetry(this, Long.MAX_VALUE)); }
/** * Repeatedly run this Nono indefinitely if it fails. * @return the new Nono instance */ public final Nono retry() { return onAssembly(new NonoRetry(this, Long.MAX_VALUE)); }
/** * Repeatedly run this Nono at most the given number of times if it fails. * @param times the repeat count * @return the new Nono instance */ public final Nono retry(long times) { return onAssembly(new NonoRetry(this, times)); }