subproc.cancel(msg, e.getCause());
/** * Adds a task to the executor service to post call logs to the Restlet Cloud * analytics service. * * If the executor service cannot satisfy the request, the call logs are * lost and an error message is logged with the reason of the failure. * * @param logsToPost * The call logs to post to the Restlet Cloud analytics service. */ private void postLogs(CallLogs logsToPost) { try { executorService.execute(new AsyncCallLogsPostTask(logsToPost)); } catch (RejectedExecutionException e) { LOGGER.severe("Posting " + logsToPost.size() + " call logs failed permanently due to \"" + e.getCause().getMessage() + "\"."); errorSendLog(logsToPost); } }
/** * Adds a task to the executor service to post call logs to the APISpark * analytics service. * * If the executor service cannot satisfy the request, the call logs are * lost and an error message is logged with the reason of the failure. * * @param logsToPost * The call logs to post to the APISpark analytics service. */ private void postLogs(CallLogs logsToPost) { try { executorService.execute(new AsyncCallLogsPostTask(logsToPost)); } catch (RejectedExecutionException e) { LOGGER.severe("Posting " + logsToPost.size() + " call logs failed permanently due to \"" + e.getCause().getMessage() + "\"."); errorSendLog(logsToPost); } }
/** * Adds a task to the executor service to post call logs to the Restlet Cloud * analytics service. * * If the executor service cannot satisfy the request, the call logs are * lost and an error message is logged with the reason of the failure. * * @param logsToPost * The call logs to post to the Restlet Cloud analytics service. */ private void postLogs(CallLogs logsToPost) { try { executorService.execute(new AsyncCallLogsPostTask(logsToPost)); } catch (RejectedExecutionException e) { LOGGER.severe("Posting " + logsToPost.size() + " call logs failed permanently due to \"" + e.getCause().getMessage() + "\"."); errorSendLog(logsToPost); } }
/** * Adds a task to the executor service to post call logs to the Restlet Cloud * analytics service. * * If the executor service cannot satisfy the request, the call logs are * lost and an error message is logged with the reason of the failure. * * @param logsToPost * The call logs to post to the Restlet Cloud analytics service. */ private void postLogs(CallLogs logsToPost) { try { executorService.execute(new AsyncCallLogsPostTask(logsToPost)); } catch (RejectedExecutionException e) { LOGGER.severe("Posting " + logsToPost.size() + " call logs failed permanently due to \"" + e.getCause().getMessage() + "\"."); errorSendLog(logsToPost); } }
/** * Adds a task to the executor service to post call logs to the Restlet Cloud * analytics service. * * If the executor service cannot satisfy the request, the call logs are * lost and an error message is logged with the reason of the failure. * * @param logsToPost * The call logs to post to the Restlet Cloud analytics service. */ private void postLogs(CallLogs logsToPost) { try { executorService.execute(new AsyncCallLogsPostTask(logsToPost)); } catch (RejectedExecutionException e) { LOGGER.severe("Posting " + logsToPost.size() + " call logs failed permanently due to \"" + e.getCause().getMessage() + "\"."); errorSendLog(logsToPost); } }
subproc.cancel(msg, e.getCause());
subproc.cancel(msg, e.getCause());