ConcurrentHashMap進行緩存

import java.util.concurrent.ConcurrentHashMap; public class ConcurrentHashMapTest { private static ConcurrentHashMap<String, String> cacheMap = new ConcurrentHashMap<>(); /** * 獲取緩存的對象 *
相關文章
相關標籤/搜索