update document

master
xuxueli 6 years ago
parent 4425c0bbe5
commit fd6f34fc3a
  1. 14
      xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java

@ -92,12 +92,7 @@ public class XxlJobExecutor {
}
jobThreadRepository.clear();
}
if(jobHandlerRepository.size() >0 ){
for (Map.Entry<String, IJobHandler> item: jobHandlerRepository.entrySet()){
removeJobHandler(item.getKey(), "web container destroy and kill the jod handler");
}
jobHandlerRepository.clear();
}
jobHandlerRepository.clear();
// destory JobLogFileCleanThread
@ -110,13 +105,6 @@ public class XxlJobExecutor {
stopRpcProvider();
}
private void removeJobHandler(String handlerId, String removeOldReason){
IJobHandler oldJobHandler = jobHandlerRepository.remove(handlerId);
if (oldJobHandler != null) {
oldJobHandler.destroy();
}
}
// ---------------------- admin-client (rpc invoker) ----------------------
private static List<AdminBiz> adminBizList;

Loading…
Cancel
Save