concurrent实用类
improt java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.RejectedExecutionHandler; 拒绝任务
import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.Callable;
5 import java.util.concurrent.Executors;
6 import java.util.concurrent.FutureTask;