摘要: 三种阻塞队列 BlockingQueue<Runnable> workQueue = null; workQueue = new ArrayBlockingQueue<>(5);//基于数组的先进先出队列,有界 workQueue = new LinkedBlockingQueue<>();//基于 阅读全文
posted @ 2020-01-15 14:20 尐海爸爸 阅读(1392) 评论(0) 推荐(0) 编辑