Ch4-Java 之 JUC

Ch4-Java 之 JUC

April 11, 2017
Java | JUC
java

JUC 即 java.util.concurrent,是 Java 并发编程中很常用的实用工具类。它包含了 Lock 框架Collections 并发集合Executors 线程池Atomic 原子类Tools

juc-overview

JUC 说明
Lock 框架 AbstractQueuedSynchronizer, ReentrantLock, ReentrantReadWriteLock
Collections 并发集合 ArrayBlockingQueue, LinkedBlockingQueue, LinkedBlockingDequeue, ConcurrentLinkedQueue, ConcurrentLinkedDequeue, DelayQueue
Executors 线程池 Executors, ThreadPoolExecutor, RejectedExecutionHandler
Atomic 原子类 AtomicInteger, AtomicIntegerArray, AtomicIntegerFieldUpdater, AtomicStampedReference, ...
Tools CyclicBarrier, Semaphore, CountDownLatch, Phaser, Exchanger