实现了两种 LocalCache,一种是基于 ConcurrentHashMap 实现基本本地缓存,另外一种是基于 LinkedHashMap 实现 LRU 策略的本地缓存。
源码地址: https://github.com/lishuo9527/LocalCache