Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxueli committed Jul 6, 2024
1 parent ae72636 commit 2d2a89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/xxl/tool/cache/CacheManage.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void capacityCheck() {
// valid capacity, do remove if exceed capacity
long clearCnt = cacheConf.size() - maxLenth;
if (clearCnt > 0) {
Set<String> keysToCut = new HashSet<>();
Set<String> keysToCut = new HashSet<>(); // TODO,》》 LRU、LFU
// collect key
for (String key: cacheConf.keySet()) {
keysToCut.add(key);
Expand Down

0 comments on commit 2d2a89b

Please sign in to comment.