public interface RemoteResultReducer<T,Y>
ExecutorSpaceRemotingProxyFactoryBean
in broadcast mode in order to
reduce the broadcast results into a "client side" result value.Modifier and Type | Method and Description |
---|---|
T |
reduce(SpaceRemotingResult<Y>[] results,
SpaceRemotingInvocation remotingInvocation)
Reduces a list of Space remoting invocation results to an Object value.
|
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 invocationException
- An exception that will be propagated to the clientCopyright © GigaSpaces.