多线程知识

一、线程管理

Object 

Thread

ThreadGroup

ThreadLocal

 

二、同步

synchronized

wait()、notify()、notifyAll()

Unsafe

AbstractQueuedSynchronizer

ReentrantLock

ReentrantReadWriteLock

Condition

 

三、同步辅助类

Semaphore

CountDownLatch

CyclicBarrier

Phaser

Exchanger

 

四、执行器

Executors

ThreadPoolExecutor

newFixedThreadPool

newCachedThreadPool

newSingleThreadExecutor

newScheduledThreadPool

Future

FutureTask

CompletionService

RejectedExecutionHandler

 

五、ForkJoin

六、集合

1、集合

ConcurrentHashMap

ConcurrentSkipListMap

ConcurrentSkipListSet

2、非阻塞队列

ConcurrentLinkedDeque

3、阻塞队列

ArrayBlockingDeque

LinkedBlockingDeque

LinkedTransferQueue

PriorityBlockingQueue

DelayQueue

4、随机

ThreadLocalRandom

5、原子

AtomicLong

AtomicIntegerArray

 

七、定制

八、监控

 

九、总览

ProcessOn链接

posted @ 2020-01-21 17:24  syxsdhy  阅读(125)  评论(0编辑  收藏  举报