예제 #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();
 }