boolean isAsync = getUrl().getMethodParameter(methodName, Constants.ASYNC_KEY, false);
int timeout = getUrl().getMethodParameter(methodName, Constants.TIMEOUT_KEY,Constants.DEFAULT_TIMEOUT);
if (isAsync) {
boolean isReturn = getUrl().getMethodParameter(methodName, Constants.RETURN_KEY, true);
if (isReturn) {
ResponseFuture future = currentClient.request(inv, timeout) ;
RpcContext.getContext().setFuture(new FutureAdapter<Object>(future));
} else {
boolean isSent = getUrl().getMethodParameter(methodName, Constants.SENT_KEY, false);
currentClient.send(inv, isSent);
RpcContext.getContext().setFuture(null);