alibaba/Sentinel

Replace deprecated concurrentlinkedhashmap-lru with Caffeine in param-flow-extension

开放

#2,871 创建于 2022年9月8日

 (4 条评论) (0 个反应) (0 位负责人)Java (8,150 个派生)batch import
good first issuekind/enhancement

仓库指标

星标
 (23,109 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

concurrentlinkedhashmap-lru 已经很老了,没有维护。

Describe what you expected to happen

是不是可以考虑下使用Caffeine 替换。

Caffeine is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

贡献者指南