container = old;
}
}
try {
container.lock.lock();
JobTaskExecutionLog taskLog = null;
for(JobTaskExecuteInfo info : infos) {
taskLog = new JobTaskExecutionLog(jobName, info);
if(container.logList.size() == MAX_CACHE_SIZE) {
// 移除最老的一个
container.logList.remove(0);
}
jobTaskLogger.info(taskLog);