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