<
从版本< 14.1 >
xu yang编辑
在2022/04/27 12:30上
到版本
xu yang编辑
在2022/04/27 12:27上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -20,12 +20,9 @@
20 20  @startuml
21 21  start
22 22  
23 -note left
24 -返回1代表已经过期
25 -endnote
26 26  if(调用expireIfNeeded方法判断key是否过期)then(1)
27 27  if(当前环境为主节点)then(yes)
28 -:返回null;
25 +:返回null
29 29  stop
30 30  endif
31 31  
... ... @@ -33,10 +33,9 @@
33 33  :返回null;
34 34  stop
35 35  endif
36 -endif
37 37  
38 -:调用lookupKey方法,查询value的值;
39 -if(返回值为空)then(yes)
34 +:调用lookupKey方法,查询value的值
35 +if (返回值为空) then(yes)
40 40  :缓存命中+1;
41 41  else(no)
42 42  :缓存非命中+1;