
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface HystrixCollapser.CollapsedRequest<ResponseType,RequestArgumentType>
A request argument RequestArgumentType that was collapsed for batch processing and needs a response ResponseType set on it by the executeBatch implementation.
| Method Summary | |
|---|---|
RequestArgumentType |
getArgument()
The request argument passed into the HystrixCollapser instance constructor which was then collapsed. |
void |
setException(java.lang.Exception exception)
When set any client thread blocking on get() will immediately be unblocked and receive the exception. |
void |
setResponse(ResponseType response)
When set any client thread blocking on get() will immediately be unblocked and receive the response. |
| Method Detail |
|---|
RequestArgumentType getArgument()
HystrixCollapser instance constructor which was then collapsed.
void setResponse(ResponseType response)
response - ResponseType
java.lang.IllegalStateException - if called more than once or after setException.void setException(java.lang.Exception exception)
exception -
java.lang.IllegalStateException - if called more than once or after setResponse.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||