guava-retrying icon indicating copy to clipboard operation
guava-retrying copied to clipboard

This is a small extension to Google's Guava library to allow for the creation of configurable retrying strategies for an arbitrary function call, such as something that talks to a remote service with...

Results 65 guava-retrying issues
Sort by recently updated
recently updated
newest added
trafficstars

The retry is cool. I'm wondering if I can have retry if arbitrary condition is met. Here's my scenario: - Delete a folder in Amazon - retry if the folder...

**Context:** Just read some code and stumble across this. Let's say I do this: ``` java RetryerBuilder myBuilder = RetryerBuilder . newBuilder() .withRetryListener(myFirstListener) Retryer firstRetryer = myBuilder.build(); myBuilder.withRetryListener(mySecondListener); Retryer secondRetryer...

I wanted to start a discussion before submitting a PR. I think it would pretty useful to have a non-generic Retryer that would allow you to use the Retryer with...

If I'm not mistaken, the Retryer assumes that our boolean logic always depends on the return of the Callable. But what if it didn't? A workaround could be to have...

This returns the `RetryerBuilder` used to build the `Retryer` instance, if it exists, as described in #13. In adding this functionality, I noticed a few things that I believe make...

enhancement

``` java public interface AttemptTimeLimiter { V call(Callable callable) throws Exception; } ``` can be changed to ``` java public interface AttemptTimeLimiter { V call(Callable callable) throws Exception; } ```...

Previously it was possible to re-use the useful implementation of `WaitStrategy` without being locked into the Retryer's notion of doing this synchronously. Since the library of WaitStrategy implementations was a...

As it stands (in version 1.0.6), any exception thrown by the `AttemptTimeLimiter` will cause `Retryer` to abort. This is includes `TimeoutException`. To me this was very surprising and unintuitive. Let's...

bug

Sometimes the code that's using the Retreyer instance needs to add more conditions or update the retry / wait strategies.

enhancement

Hello Ray. I have added one more test for the BlockStrategies for your consideration to be included in the Retryer. Keep up the good work.