/** * */ public void addIntermediateResult(TupleResult result) { try { TupleResult res = (TupleResult)func.addIntermediateResult(result); DelegatingTupleFuture.super.addIntermediateResult(res); } catch(RuntimeException e) { DelegatingTupleFuture.super.setExceptionIfUndone(e); } }
/** * */ public void addIntermediateResult(Object result) { try { Object res = func.addIntermediateResult(result); DelegatingPullIntermediateDelegationFuture.super.addIntermediateResult(res); } catch(RuntimeException e) { DelegatingPullIntermediateDelegationFuture.super.setExceptionIfUndone(e); } }
/** * */ public void addIntermediateResult(Object result) { try { Object res = func.addIntermediateResult(result); DelegatingPullSubscriptionIntermediateDelegationFuture.super.addIntermediateResult(res); } catch(RuntimeException e) { DelegatingPullSubscriptionIntermediateDelegationFuture.super.setExceptionIfUndone(e); } }
/** * */ public void addIntermediateResult(Object result) { try { Object res = func.addIntermediateResult(result); DelegatingSubscriptionIntermediateDelegationFuture.super.addIntermediateResult(res); } catch(RuntimeException e) { DelegatingSubscriptionIntermediateDelegationFuture.super.terminate(e); } }
/** * */ public void addIntermediateResult(Object result) { try { Object res = func.addIntermediateResult(result); DelegatingTerminableIntermediateDelegationFuture.super.addIntermediateResult(res); } catch(Exception e) { DelegatingTerminableIntermediateDelegationFuture.super.terminate(e); } }
/** * */ public void addIntermediateResult(Object result) { // System.out.println("ires: "+result+" "+this); try { Object res = func.addIntermediateResult(result); DelegatingIntermediateFuture.super.addIntermediateResult(res); } catch(Exception e) { DelegatingIntermediateFuture.super.setExceptionIfUndone(e); } }