atomic-factory/src/main/java/org/infinispan/atomic/container/Container.java
/**
    *
    * @param invocation
    * @return true if the operation is local
    * @throws InvocationTargetException
    * @throws IllegalAccessException
    */
@param invocation
@return true if the operation is local
@throws InvocationTargetException
@throws IllegalAccessException
@param invocation @return true if the operation is local @throws InvocationTargetException @throws IllegalAccessException
private boolean handleInvocation(CallInvoke invocation)
         throws InvocationTargetException, IllegalAccessException {
      Object ret = callObject(object, invocation.method, invocation.arguments);
      CallFuture future = registeredCalls.get(invocation.callID);
      if(future!=null){
         if (log.isDebugEnabled()) log.debugf("Updating %s",future.toString());
         future.setReturnValue(ret);
         return true;
      }else{
         log.debugf("No future for %s", invocation.callID);
      }
      return false;
   }
private boolean handleInvocation ( CallInvoke invocation ) throws InvocationTargetException , IllegalAccessException { Object ret = callObject ( object , invocation . method , invocation . arguments ) ; CallFuture future = registeredCalls . get ( invocation . callID ) ; if ( future != null ) { if ( log . isDebugEnabled ( ) ) log . debugf ( "Updating %s" , future . toString ( ) ) ; future . setReturnValue ( ret ) ; return true ; } else { log . debugf ( "No future for %s" , invocation . callID ) ; } return false ; }
@param invocation
 @return true if the operation is local
 @throws InvocationTargetException
 @throws IllegalAccessException
@param invocation @return true if the operation is local @throws InvocationTargetException @throws IllegalAccessException