{"id":18480633,"url":"https://github.com/jloisel/retrying-callable","last_synced_at":"2025-07-30T22:10:24.232Z","repository":{"id":6349743,"uuid":"7586298","full_name":"jloisel/retrying-callable","owner":"jloisel","description":"Wrap any Callable\u003cT\u003e to retry it on failure with configurable retry and wait policies.","archived":false,"fork":false,"pushed_at":"2013-01-15T20:58:22.000Z","size":156,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T21:16:34.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jloisel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-13T09:15:12.000Z","updated_at":"2017-07-22T09:04:58.000Z","dependencies_parsed_at":"2022-07-08T03:07:48.072Z","dependency_job_id":null,"html_url":"https://github.com/jloisel/retrying-callable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jloisel%2Fretrying-callable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jloisel%2Fretrying-callable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jloisel%2Fretrying-callable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jloisel%2Fretrying-callable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jloisel","download_url":"https://codeload.github.com/jloisel/retrying-callable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254011064,"owners_count":21999043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T12:19:37.527Z","updated_at":"2025-05-13T19:24:04.390Z","avatar_url":"https://github.com/jloisel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"retrying-callable\n=================\n\nWrap any Callable\u003cT\u003e to retry it with configurable retry and wait policies.\n\nUsage:\n\n```java\n\t\timport static com.jloisel.concurrent.retry.RetryPolicies.*;\n\t\timport static com.jloisel.concurrent.backoff.BackOffPolicies.*;\n\t\t\n\t\tfinal Callable\u003cT\u003e callable = ...;\n\t\tfinal RetryOnFailureCallableBuilder\u003cT\u003e b = new RetryOnFailureCallableBuilder\u003c\u003e(callable);\n\t\t\n\t\tfinal Callable\u003cT\u003e retrying = b\n\t\t\t.retry(attempts(3))\n\t\t\t.backoff(sleep(5, TimeUnit.SECONDS))\n\t\t\t.build();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjloisel%2Fretrying-callable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjloisel%2Fretrying-callable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjloisel%2Fretrying-callable/lists"}