@Override public void addResult(DistributedMember memId , Object resultOfSingleExecution) { if(!this.endResultRecieved){ if (!(this.userRC instanceof LocalResultCollectorImpl) && resultOfSingleExecution instanceof InternalFunctionException) { resultOfSingleExecution = ((InternalFunctionException)resultOfSingleExecution) .getCause(); } this.userRC.addResult(memId, resultOfSingleExecution); } }
@Override public void addResult(DistributedMember memId , Object resultOfSingleExecution) { if(!this.endResultRecieved){ if (!(this.userRC instanceof LocalResultCollectorImpl) && resultOfSingleExecution instanceof InternalFunctionException) { resultOfSingleExecution = ((InternalFunctionException)resultOfSingleExecution) .getCause(); } this.userRC.addResult(memId, resultOfSingleExecution); } }