Package com.alibaba.jstorm.utils

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

TOP

Related Classes of com.alibaba.jstorm.utils.SmartThread

Copyright © 2018 www.massapicom. 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.