Skip to content

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxueli committed Feb 22, 2019
1 parent 4425c0b commit fd6f34f
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@ public void destroy(){
}
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
Expand All @@ -110,13 +105,6 @@ public void destroy(){
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;
Expand Down

0 comments on commit fd6f34f

Please sign in to comment.