Class ImmediateSchedulingStrategy
- java.lang.Object
-
- org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy
-
- All Implemented Interfaces:
SchedulingStrategy
@Contract(threading=STATELESS) public class ImmediateSchedulingStrategy extends java.lang.Object implements SchedulingStrategy
Immediately schedules any operation.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static ImmediateSchedulingStrategy
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmediateSchedulingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.util.TimeValue
schedule(int attemptNumber)
Schedules execution time for an operation.
-
-
-
Field Detail
-
INSTANCE
public static final ImmediateSchedulingStrategy INSTANCE
-
-
Method Detail
-
schedule
public org.apache.hc.core5.util.TimeValue schedule(int attemptNumber)
Description copied from interface:SchedulingStrategy
Schedules execution time for an operation.- Specified by:
schedule
in interfaceSchedulingStrategy
-
-