|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteResultReducer<T,Y>
A remoting result reducer (ala Map Reduce) used when working with
ExecutorSpaceRemotingProxyFactoryBean
in
broadcast mode in order to reduce the broadcast results into a "client
side" result value.
Method Summary | |
---|---|
T |
reduce(SpaceRemotingResult<Y>[] results,
SpaceRemotingInvocation remotingInvocation)
Reduces a list of Space remoting invocation results to an Object value. |
Method Detail |
---|
T reduce(SpaceRemotingResult<Y>[] results, SpaceRemotingInvocation remotingInvocation) throws Exception
SpaceRemotingInvocation.getMethodName()
.
An exception thrown from the reduce operation will be propagated to the client.
results
- A list of results from (usually) broadcast sync remote invocation.remotingInvocation
- The remote invocation
Exception
- An exception that will be propagated to the client
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |