Interface SchedulingStrategy
- All Known Implementing Classes:
ExponentialBackOffSchedulingStrategy
,ImmediateSchedulingStrategy
@Contract(threading=STATELESS)
public interface SchedulingStrategy
Strategy to determine an execution time (schedule) for an operation.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.util.TimeValue
schedule
(int attemptNumber) Schedules execution time for an operation.
-
Method Details
-
schedule
org.apache.hc.core5.util.TimeValue schedule(int attemptNumber) Schedules execution time for an operation.
-