Package app.l2nx.gs.adapter.core.connect
Interface BackoffSchedule
- All Known Implementing Classes:
DefaultBackoffSchedule
public interface BackoffSchedule
Stateless retry-delay generator. Implementations return a
Duration based
on the attempt number; ConnectFlow owns the attempt counter.-
Method Summary
-
Method Details
-
next
- Parameters:
attempt- 1-based retry index (attempt1= first retry after the initial failure)- Returns:
- the delay before the next retry attempt
-