Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[Guava Retryer] Snippet for retrying by Guava Retryer
Callable<Boolean> callable = new Callable<Boolean>() {
public Boolean call() throws Exception {
return true; // do something useful here
Retryer<Boolean> retryer = RetryerBuilder.<Boolean>newBuilder()
try {;
} catch (RetryException e) {
} catch (ExecutionException e) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment