/** * @param log Logger. * @param time Time. * @param msg Message. */ private static void log0(@Nullable IgniteLogger log, long time, String msg) { if (log != null) { if (log.isDebugEnabled()) log.debug(msg); else log.warning(msg); } else X.println( String.format( "[%s][%s]%s", DEBUG_DATE_FMT.get().format(time), Thread.currentThread().getName(), msg)); }
/** {@inheritDoc} */ @Override public void cancel() { synchronized (mux) { isCancelled = true; cancelCnt++; mux.notifyAll(); } log.warning("Job cancelled: " + jobCtx.getJobId()); }