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 flaky uptime.
Getting Started with Google GuavaGetting Started with Google Guava (2013)
by Bejeck, Bill