public final void lastResult(final Object oneResult) { lastResult(oneResult, true, true, true); }
/** * This function processes the result data it receives. Adds the result to * resultCollector as it gets the objects. On getting the last msg from all * the sender it will call endResult on ResultSender. */ public void processData(Object result, boolean lastMsg, DistributedMember memberID) { boolean completelyDone = false; if (lastMsg) { this.totalLastMsgRecieved++; } if (this.totalLastMsgRecieved == this.recipients.size()) { completelyDone = true; } ((PartitionedRegionFunctionResultSender)resultSender).lastResult( result, completelyDone, this.reply, memberID); } }
/** * This function processes the result data it receives. Adds the result to * resultCollector as it gets the objects. On getting the last msg from all * the sender it will call endResult on ResultSender. */ @Override public void processData(Object result, boolean lastMsg, DistributedMember memberID) { boolean completelyDone = false; if (lastMsg) { this.totalLastMsgRecieved++; } if (this.totalLastMsgRecieved == this.recipients.size()) { completelyDone = true; } ((PartitionedRegionFunctionResultSender)resultSender).lastResult( result, completelyDone, this.reply, memberID); } }
public void sendException(Throwable exception) { InternalFunctionException iFunxtionException = new InternalFunctionException( exception); this.lastResult(iFunxtionException); this.localLastResultRecieved = true; }
public void sendException(Throwable exception) { InternalFunctionException iFunxtionException = new InternalFunctionException( exception); this.lastResult(iFunxtionException); this.localLastResultRecieved = true; }
lastResult(oneResult, reply, true, false, memberID); lastResult(oneResult, reply, true, false, memberID);
lastResult(oneResult, reply, true, false, memberID); lastResult(oneResult, reply, true, false, memberID);
lastResult(oneResult, rc, false, true, dm.getDistributionManagerId()); lastResult(oneResult, rc, false, true, dm.getDistributionManagerId());
lastResult(oneResult, rc, false, true, dm.getDistributionManagerId()); lastResult(oneResult, rc, false, true, dm.getDistributionManagerId());