/// <summary>The with sleeper.</summary> /// <param name="sleeper">The sleeper.</param> /// <returns>The Spring.Retry.Retry.Backoff.FixedBackOffPolicy.</returns> public ISleepingBackOffPolicy WithSleeper(ISleeper sleeper) { var res = new FixedBackOffPolicy(); res.BackOffPeriod = this.BackOffPeriod; res.Sleeper = sleeper; return res; }
/// <summary>The with sleeper.</summary> /// <param name="sleeper">The sleeper.</param> /// <returns>The Spring.Retry.Retry.Backoff.FixedBackOffPolicy.</returns> public ISleepingBackOffPolicy WithSleeper(ISleeper sleeper) { var res = new FixedBackOffPolicy(); res.BackOffPeriod = this.BackOffPeriod; res.Sleeper = sleeper; return(res); }