We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfc92f4 commit 8d84861Copy full SHA for 8d84861
src/main/java/com/crossoverjie/actual/AbstractMap.java
@@ -66,7 +66,7 @@ public class AbstractMap extends java.util.AbstractMap {
66
/**
67
* 超时时间
68
*/
69
- private final static Long EXPIRETIME = 60 * 60 * 1000L ;
+ private final static Long EXPIRE_TIME = 60 * 60 * 1000L ;
70
71
72
* 整个 Map 的大小
@@ -334,7 +334,7 @@ public void run() {
334
}
335
Long updateTime = node.getUpdateTime() ;
336
337
- if ((updateTime - System.currentTimeMillis()) >= EXPIRETIME){
+ if ((updateTime - System.currentTimeMillis()) >= EXPIRE_TIME){
338
remove(node.key) ;
339
340
} catch (Exception e) {
0 commit comments