@Contract(threading=STATELESS) public class ImmediateSchedulingStrategy extends Object implements SchedulingStrategy
Modifier and Type | Field and Description |
---|---|
static ImmediateSchedulingStrategy |
INSTANCE
Default instance of
ImmediateSchedulingStrategy . |
Constructor and Description |
---|
ImmediateSchedulingStrategy() |
Modifier and Type | Method and Description |
---|---|
org.apache.hc.core5.util.TimeValue |
schedule(int attemptNumber)
Schedules execution time for an operation.
|
public static final ImmediateSchedulingStrategy INSTANCE
ImmediateSchedulingStrategy
.public org.apache.hc.core5.util.TimeValue schedule(int attemptNumber)
SchedulingStrategy
schedule
in interface SchedulingStrategy
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.