摘要:
简介 ConcurrentHashMap;//线程安全的HashMap CopyOnWriteArrayList;//在读多写少的场合性能很好,远优于vector ConcurrentLinkedQueue;//线程安全的LinkedList BlockingQueue;//阻塞队列,适合作数据共享 阅读全文
posted @ 2020-06-01 21:05
INnoVation-V2
阅读(154)
评论(0)
推荐(0)
摘要:
一、JDK对线程池的支持 常用方法 newFixedThreadPool(int Threads); newSingleThreadExecutor(); newCachedThreadPool(); newSingleThreadScheduledExecutor(); newScheduledT 阅读全文
posted @ 2020-06-01 21:04
INnoVation-V2
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号