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