java 并发 concurrent Executor
Excutor类
| Executor | 
 执行提交的对象 
Runnable任务。 | 
| ExecutorService | 
使用
// 获取单个线程池的Executor 由于Executor只在一个线程中使用,因此可以消除多个线程同时访问一个属性文件的影响。 ExecutorService executorService = Executors.newSingleThreadExecutor();
Excutor类
| Executor | 
 执行提交的对象 
Runnable任务。 | 
| ExecutorService | 
使用
// 获取单个线程池的Executor 由于Executor只在一个线程中使用,因此可以消除多个线程同时访问一个属性文件的影响。 ExecutorService executorService = Executors.newSingleThreadExecutor();