@Test public void testShouldRetry() throws Exception { assertTrue("Expected value higher than zero", retry.shouldRetry()); }
public boolean shouldRetry() { return numberOfTriesLeft > 0; }
RetryStrategy implements Serializable { public boolean shouldRetry() { return numberOfTriesLeft > 0; } }
RetryStrategy implements Serializable { public boolean shouldRetry() { return numberOfTriesLeft > 0; } RetryStrategy();  RetryStrategy(int numberOfRetries, long timeToWait); }
RetryStrategy implements Serializable { public boolean shouldRetry() { return numberOfTriesLeft > 0; } RetryStrategy();  RetryStrategy(int numberOfRetries, long timeToWait); boolean shouldRetry(); void errorOccured(); long getTimeToWait(); }
RetryStrategy implements Serializable { public boolean shouldRetry() { return numberOfTriesLeft > 0; } RetryStrategy();  RetryStrategy(int numberOfRetries, long timeToWait); boolean shouldRetry(); void errorOccured(); long getTimeToWait(); static final int DEFAULT_RETRIES; static final long DEFAULT_WAIT_TIME_IN_MILLI; }