/** * Default way of checking if polling should be retried * or fast failed * * @param pollingStrategyContext Provides the polling context required to make the retry decision * @return false if the number of re */ @Override public boolean shouldRetry(PollingStrategyContext pollingStrategyContext) { return pollingStrategyContext.getRetriesAttempted() < defaultMaxAttempts; } }
/** * Default way of checking if polling should be retried * or fast failed * * @param pollingStrategyContext Provides the polling context required to make the retry decision * @return false if the number of re */ @Override public boolean shouldRetry(PollingStrategyContext pollingStrategyContext) { return pollingStrategyContext.getRetriesAttempted() < defaultMaxAttempts; } }
/** * Default way of checking if polling should be retried * or fast failed * * @param pollingStrategyContext Provides the polling context required to make the retry decision * @return false if the number of re */ @Override public boolean shouldRetry(PollingStrategyContext pollingStrategyContext) { return pollingStrategyContext.getRetriesAttempted() < defaultMaxAttempts; } }