摘要: package com.fh.interview; import java.util.concurrent.Exchanger; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author * @create 2018-06-03 下午4:31 **/... 阅读全文
posted @ 2018-06-03 16:38 默默行走 阅读(82) 评论(0) 推荐(0) 编辑
摘要: package com.fh.interview; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; /** * @author * * Semaphore用来做特殊资源的并发访问控制是相当合... 阅读全文
posted @ 2018-06-03 16:31 默默行走 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package com.fh.interview; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** ... 阅读全文
posted @ 2018-06-03 16:23 默默行走 阅读(128) 评论(0) 推荐(0) 编辑
摘要: package com.fh.interview; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author * @create 201... 阅读全文
posted @ 2018-06-03 15:35 默默行走 阅读(115) 评论(0) 推荐(0) 编辑
摘要: package com.fh.interview; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; /** * @author * @create 2018-06-03 下午3:18 ... 阅读全文
posted @ 2018-06-03 15:34 默默行走 阅读(159) 评论(0) 推荐(0) 编辑