一、线程管理

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链接

多线程知识

相关文章:

  • 2021-08-14
  • 2021-12-05
  • 2021-07-03
  • 2021-08-09
  • 2019-11-18
  • 2021-06-01
猜你喜欢
  • 2021-06-11
  • 2021-12-02
  • 2019-02-05
  • 2022-03-03
  • 2021-12-19
  • 2021-12-19
  • 2021-04-12
相关资源
相似解决方案