@Test void testDoublingRetrySchedule() { assertThat(RetrySchedule.class.isAssignableFrom(DoublingRetrySchedule.class)).isTrue(); assertThat(new DoublingRetrySchedule(0, 0).getInterval(0)).isEqualTo(0); assertThat(new DoublingRetrySchedule(-1, -1).getInterval(0)).isEqualTo(0); assertThat(new DoublingRetrySchedule(-1, 0).getInterval(0)).isEqualTo(0); assertThat(new DoublingRetrySchedule(0, -1).getInterval(0)).isEqualTo(0); }
private DoublingRetrySchedule() { }
DoublingRetrySchedule implements RetrySchedule { private DoublingRetrySchedule() { } }
DoublingRetrySchedule implements RetrySchedule { private DoublingRetrySchedule() { } private  DoublingRetrySchedule();  DoublingRetrySchedule(long startInterval, long maxInterval);  DoublingRetrySchedule(long startInterval, long maxInterval, int multiplier); }
DoublingRetrySchedule implements RetrySchedule { private DoublingRetrySchedule() { } private  DoublingRetrySchedule();  DoublingRetrySchedule(long startInterval, long maxInterval);  DoublingRetrySchedule(long startInterval, long maxInterval, int multiplier); @Override long getInterval(int index); @Override String toString(); }
DoublingRetrySchedule implements RetrySchedule { private DoublingRetrySchedule() { } private  DoublingRetrySchedule();  DoublingRetrySchedule(long startInterval, long maxInterval);  DoublingRetrySchedule(long startInterval, long maxInterval, int multiplier); @Override long getInterval(int index); @Override String toString();  }