class IoTDBThreadPoolFactory {

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

  private  IoTDBThreadPoolFactory();

}