Open wuqiu-ai opened 4 years ago
tools
CountDownLatch、CyclicBarrier、Semaphore、Executors、Exchanger
locks
Lock -> ReentrantLock -> ReentrantReadWriteLock.ReadLock、WriteLock Condition ReadWriteLock -> ReentrantReadWriteLock LockSupport
atomic
AtomicBoolean、AtomicInteger、AtomicIntegerArray......
collections
Queue: CocurrentLinkedQueue、BlockingQueue、Deque(ArrayBlockingDeque、LinkedList、BlockingDeque、LinkedBlockingDeque) CopyOnWriteArrayList CopyOnWriteArraySet ConcurrentSkipLiskSet ConcurrentMap -> CocurrentHashMap
executor
Future: RunnableFuture、RunnableScheduledFuture、FutureTask、ScheduledFuture Callable Executor:ExecutorServices、ScheduledExecutorService、ThreadPoolExecutor、SchduledThreadPoolExecutor CompletionService、ExecutorCompletionServices RejectHandler:DiscardPolicy、DiscardOldesPolicy、CallerRunPolicy、AbortPolicy TimeUnit
JUC相关?