Examples of SmartThread


Examples of com.alibaba.jstorm.utils.SmartThread

    active.set(false);

    int size = threads.size();
    for (int i = 0; i < size; i++) {
      SmartThread thread = threads.elementAt(i);
      thread.cleanup();
      JStormUtils.sleepMs(10);
      thread.interrupt();
      try {
        thread.join();
      } catch (InterruptedException e) {
        LOG.error(e.getMessage(), e);
      }
    }
    eventManager.shutdown();
View Full Code Here

Examples of com.alipay.bluewhale.core.utils.SmartThread

       
        active.set(false);
       
        int size = threads.size();
        for (int i = 0; i < size; i++) {
            SmartThread thread = threads.elementAt(i);
            thread.interrupt();
            try {
                thread.join();
            } catch (InterruptedException e) {
               LOG.error(e.getMessage(), e);
            }
        }
        eventManager.shutdown();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.