249250251252253254255256257258259
}; RetryHarness harness = new RetryHarness(retry, new FixedPeriodBackoff( RETRY_PAUSE_MS, MAX_RETRIES), true); try { harness.attempt(); return retry.getResult(); } catch (Exception e) { throw new IOException(e); } }
272273274275276277278279280281282
}; RetryHarness harness = new RetryHarness(retry, new FixedPeriodBackoff( RETRY_PAUSE_MS, MAX_RETRIES), true); try { harness.attempt(); return retry.getResult(); } catch (Exception e) { throw new IOException(e); }
290291292293294295296297298299300
309310311312313314315316317318319
}; RetryHarness harness = new RetryHarness(retry, new FixedPeriodBackoff( RETRY_PAUSE_MS, MAX_RETRIES), true); try { harness.attempt(); } catch (Exception e) { throw new IOException(e); } }
329330331332333334335336337338339
211212213214215216217218219220221
231232233234235236237238239240241