|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultJoinStrategy
A Strategy pattern describing how to join multiple results together, to decide when it is safe to unblock the calling client thread and when a request can be considered to be complete.
| Method Summary | |
|---|---|
org.springframework.remoting.support.RemoteInvocationResult |
mergeResponses(org.springframework.remoting.support.RemoteInvocationResult currentResult,
org.springframework.remoting.support.RemoteInvocationResult newResult,
int responseCount)
Merges the new response with the previous response object. |
boolean |
removeHandler(org.springframework.remoting.support.RemoteInvocationResult response,
int responseCount)
Returns true if there have been sufficient responses to remove the handler from the system. |
boolean |
unblockCallerThread(org.springframework.remoting.support.RemoteInvocationResult response,
int responseCount)
Returns true if the calling thread should be unblocked after calling the method and so returning the current value of the invocation result; future responses could still mutate the result object if required. |
| Method Detail |
|---|
boolean unblockCallerThread(org.springframework.remoting.support.RemoteInvocationResult response,
int responseCount)
boolean removeHandler(org.springframework.remoting.support.RemoteInvocationResult response,
int responseCount)
org.springframework.remoting.support.RemoteInvocationResult mergeResponses(org.springframework.remoting.support.RemoteInvocationResult currentResult,
org.springframework.remoting.support.RemoteInvocationResult newResult,
int responseCount)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||