public interface ParallecResponseHandler
Modifier and Type | Method and Description |
---|---|
void |
onCompleted(ResponseOnSingleTask res,
java.util.Map<java.lang.String,java.lang.Object> responseContext)
When timeout / error occurred or response received for the target host,
will trigger execution of onCompleted().
|
void onCompleted(ResponseOnSingleTask res, java.util.Map<java.lang.String,java.lang.Object> responseContext)
ParallelTaskBuilder.handleInWorker()
ResponseOnSingleTask.isError()
is true: Fail to receive resposneres
- the responseresponseContext
- the response context