Package | Description |
---|---|
com.yahoo.processing | |
com.yahoo.processing.execution | |
com.yahoo.processing.response |
Modifier and Type | Method and Description |
---|---|
abstract Response |
Processor.process(Request request,
Execution execution)
Performs a processing request and returns the response
|
Modifier and Type | Method and Description |
---|---|
void |
Response.mergeWith(Response other)
Processors which merges another request into this must call this method to notify the response.
|
Modifier and Type | Field and Description |
---|---|
private Response |
ExecutionWithResponse.response |
private Response |
RunnableExecution.response |
Modifier and Type | Method and Description |
---|---|
protected Response |
ExecutionWithResponse.defaultResponse(Request request) |
protected Response |
Execution.defaultResponse(Request request)
Creates the default response to return from this kind of execution when there are no further processors.
|
Response |
RunnableExecution.getResponse()
Returns the response from executing this, or null if exception is set or run() has not been called yet
|
private static Response |
AsyncExecution.getTaskResponse(FutureResponse future) |
Response |
Execution.process(Request request)
Calls process on the next processor in this chain.
|
Modifier and Type | Method and Description |
---|---|
static List<Response> |
AsyncExecution.waitForAll(Collection<FutureResponse> tasks,
long timeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
Execution.onReturning(Request request,
Processor processor,
Response response)
A hook called when a processor returns, either normally or by throwing.
|
void |
ResponseReceiver.setResponse(Response response) |
Modifier and Type | Method and Description |
---|---|
private FutureResponse |
AsyncExecution.getFutureResponse(Callable<Response> callable,
Request request) |
Constructor and Description |
---|
ExecutionWithResponse(com.yahoo.component.chain.Chain<? extends Processor> chain,
Response response,
Execution execution)
Creates an execution which will return a given response at the end of the chain.
|
Modifier and Type | Field and Description |
---|---|
private com.google.common.util.concurrent.ListenableFutureTask<Response> |
FutureResponse.futureTask |
Modifier and Type | Method and Description |
---|---|
Response |
FutureResponse.get() |
Response |
FutureResponse.get(long timeout,
TimeUnit timeunit) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFutureTask<Response> |
FutureResponse.delegate() |
Constructor and Description |
---|
FutureResponse(Callable<Response> callable,
Execution execution,
Request request) |
Copyright © 2018. All rights reserved.