public static interface AsyncExecChain.Scheduler
| Modifier and Type | Method and Description |
|---|---|
void |
scheduleExecution(HttpRequest request,
AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecCallback asyncExecCallback,
TimeValue delay)
Schedules request re-execution immediately or after a delay.
|
default void |
scheduleExecution(HttpRequest request,
AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecChain chain,
AsyncExecCallback asyncExecCallback,
TimeValue delay)
Schedules request re-execution of the given execution chain immediately or
after a delay.
|
void scheduleExecution(HttpRequest request, AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback, TimeValue delay)
request - the actual request.entityProducer - the request entity producer or null if the request
does not enclose an entity.scope - the execution scope.asyncExecCallback - the execution callback.delay - re-execution delay. Can be null if the request is to be
re-executed immediately.@Internal default void scheduleExecution(HttpRequest request, AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, TimeValue delay)
request - the actual request.entityProducer - the request entity producer or null if the request
does not enclose an entity.scope - the execution scope.chain - the execution chain.asyncExecCallback - the execution callback.delay - re-execution delay. Can be null if the request is to be
re-executed immediately.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.