コード例 #1
0
 @Override
 public void onExit() {
   running = false;
   if (thread != null && thread.isSleeping()) thread.interrupt();
   thread = null;
   logger.info("JDFeedMe has exited");
 }
コード例 #2
0
 public static void syncNowEvent() {
   if (thread != null && thread.isSleeping()) thread.interrupt();
 }