class IoTDBThreadPoolFactory {

  public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize, String poolName) {
    return Executors.newScheduledThreadPool(corePoolSize, new IoTThreadFactory(poolName));
  }

  private  IoTDBThreadPoolFactory();

}