123124125126127128129130131132133
if (e != null) { if (e.isExpired()) { entries.remove(k); e = null; } else { e.touch(); } } return e; }
124125126127128129130131132133134
long currentTimeMillis = System.currentTimeMillis(); if (e.isExpired(currentTimeMillis)) { entries.remove(k); e = null; } else { e.touch(currentTimeMillis); } } return e; }
126127128129130131132133134135136
156157158159160161162163164165166
142143144145146147148149150151152
long currentTimeMillis = timeService.wallClockTime(); if (e.isExpired(currentTimeMillis)) { entries.remove(k); e = null; } else { e.touch(currentTimeMillis); } } return e; }
125126127128129130131132133134135
5253545556575859606162
if (e.isExpired()) { mortalEntries.remove(k); numEntries.getAndDecrement(); e = null; } else { e.touch(); } } return e; }
102103104105106107108109110111112
if (ice != null) { if (ice.isExpired()) { remove(k); ice = null; } else { ice.touch(); } } return ice; }