class IoTDBThreadPoolFactory {

  public static ExecutorService newCachedThreadPool(String poolName) {
    logger.info("new cached thread pool: {}", poolName);
    return Executors.newCachedThreadPool(new IoTThreadFactory(poolName));
  }

  private  IoTDBThreadPoolFactory();

}