rhuffman / re-retrying

A Java library to allow for the creation of configurable retrying strategies for an arbitrary function call, such as something that communicates with a remote service with flaky uptime.
Apache License 2.0
35 stars 6 forks source link

Reduce usage of generic parameters #21

Closed rhuffman closed 6 years ago

rhuffman commented 6 years ago

This modifies the API to reduce the usage of generic parameters, fixing issue #20. This allows a Retryer to be constructed then used with a Callable that returns any type. Both RetryerBuilder and Retryer no longer have a class-level parameter.

Fixes #21