淡然小馒头

文章
4
资源
0
加入时间
3年1月10天

缓存系统设计

ReadWriteLock使用public class CacheSystemTest { public static void main(String[] args) { MyCache cache = new MyCache(); ExecutorService threadpool = Executors.newCachedThreadPool(); for(int i =0;i<10;i++) {