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

Summary

Details

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