Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,9 +20,6 @@ 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 28 :返回null; ... ... @@ -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;