1、先写一个线程池类 public class VillageThreadPool{ private static ExcutorService executorSrrvice = new ThreadPoolExecutor(10,20,0,TimeUnit.MINUTES, new