Class ThreadUtils


  • public class ThreadUtils
    extends java.lang.Object
    the utils for managing thread or thread pool
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void stopThreadPool​(java.util.concurrent.ExecutorService pool, org.apache.iotdb.commons.concurrent.ThreadName poolName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadUtils

        public ThreadUtils()
    • Method Detail

      • stopThreadPool

        public static void stopThreadPool​(java.util.concurrent.ExecutorService pool,
                                          org.apache.iotdb.commons.concurrent.ThreadName poolName)