RetryingJaxRsStrategy implements JaxRsStrategy<T> { public RetryingJaxRsStrategy<T> setMaxIterations(int maxIterations) { this.maxIterations = maxIterations; return this; } RetryingJaxRsStrategy(
            final Set<HostName> hostNames,
            final int port,
            final JaxRsClientFactory jaxRsClientFactory,
            final Class<T> apiClass,
            final String pathPrefix,
            String scheme); RetryingJaxRsStrategy<T> setMaxIterations(int maxIterations); @Override R apply(final Function<T, R> function); @Override R apply(final Function<T, R> function, JaxRsTimeouts timeouts);  }
@Test public void testRetryGivesUpAfterOneLoopOverAvailableServers() { jaxRsStrategy.setMaxIterations(1); testRetryGivesUpAfterXIterations(1); }