Package com.yahoo.processing.execution
Class RunnableExecution
- java.lang.Object
-
- com.yahoo.processing.execution.RunnableExecution
-
-
Constructor Summary
Constructors Constructor Description RunnableExecution(Request request, Execution execution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getException()
Returns the exception from executing this, or null if response is set or run() has not been called yetResponse
getResponse()
Returns the response from executing this, or null if exception is set or run() has not been called yetvoid
run()
Calls process on the execution of this.
-
-
-
Method Detail
-
run
public void run()
Calls process on the execution of this. This will result in either response or exception being set on this. Calling this never throws an exception.
-
getResponse
public Response getResponse()
Returns the response from executing this, or null if exception is set or run() has not been called yet
-
getException
public Throwable getException()
Returns the exception from executing this, or null if response is set or run() has not been called yet
-
-