| | |
| | | idleBeatResult = executorBiz.idleBeat(new IdleBeatParam(triggerParam.getJobId())); |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | idleBeatResult = new ReturnT<String>(ReturnT.FAIL_CODE, ""+e ); |
| | | idleBeatResult = new ReturnT<String>(ReturnT.FAIL_CODE, "" + e); |
| | | } |
| | | idleBeatResultSB.append( (idleBeatResultSB.length()>0)?"<br><br>":"") |
| | | .append(I18nUtil.getString("jobconf_idleBeat") + ":") |
| | | .append("<br>address:").append(address) |
| | | .append("<br>code:").append(idleBeatResult.getCode()) |
| | | .append("<br>msg:").append(idleBeatResult.getMsg()); |
| | | idleBeatResultSB.append((idleBeatResultSB.length() > 0) ? "<br><br>" : "") |
| | | .append(I18nUtil.getString("jobconf_idleBeat") + ":") |
| | | .append("<br>address:").append(address) |
| | | .append("<br>code:").append(idleBeatResult.getCode()) |
| | | .append("<br>msg:").append(idleBeatResult.getMsg()); |
| | | |
| | | // beat success |
| | | if (idleBeatResult.getCode() == ReturnT.SUCCESS_CODE) { |