- extends Thread
- implements Runnable
- implements Callable
- implements ThreadFactory
- new ThreadPoolExecutor
NEW -> RUNNABLE -> TERMINATED
NEW -> RUNNABLE -> WAITING -> RUNNABLE -> TERMINATED
NEW -> RUNNABLE -> TIMED_WAITING -> RUNNABLE -> TERMINATED
- synchronized
- ReetrantLock、ReetrantReadWriteLock
- CountDownLatch
- CyclicBarrier
- Semaphore
- Phaser
- CopyOnWriteArrayList、CopyOnWriteArraySet
- ConcurrentHashMap
- ArrayBlockingQueue
- LinkedBlockingQueue
- PriortyBlockingQueue