@Override public boolean CheckTransactionalRule(AddDataRequestMsg req, List<NameValuePair> params, AtomicReference<String> nullableFaultMsg) { if (nullableFaultMsg == null) { nullableFaultMsg = new AtomicReference<String>(); } if (!req.isSuccess()) { nullableFaultMsg.set("All faults, " + nullableFaultMsg.get()); return true; } return false; }
@Override public boolean CheckTransactionalRule(AddDataRequestMsg req, List<NameValuePair> params, AtomicReference<String> nullableFaultMsg) { if (nullableFaultMsg == null) { nullableFaultMsg = new AtomicReference<String>(); } if (req.isSuccess()) { nullableFaultMsg.set("All Success, " + nullableFaultMsg.get()); return true; } return false; }
com.setLong(4, req.getRequestSize()); com.setString(5, Utility.truncate(req.getURI(), MAXTEXT)); com.setBoolean(6, req.isSuccess()); com.setString(7, Utility.truncate(InetAddress.getLocalHost().getHostName().toLowerCase(), MAXTEXT)); if (Utility.stringIsNullOrEmpty(req.getXmlRequest())) {