Skip to content

Add retry utility snippet #247

@iluwatar

Description

@iluwatar

Description:

Create a utility that retries execution of a Callable up to a defined number of times, with a delay between attempts. Useful for network and file operations.

Acceptance Criteria:

  • A new retry snippet has been added
  • Method retry(Callable task, int maxAttempts, long delayMillis) is implemented
  • Retries task on failure with optional delay
  • Test case showcases retrying on failure

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions