128129130131132133134135136137138
if (e != null) { if (e.isExpired(System.currentTimeMillis())) { entries.remove(k); e = null; } else { e.touch(); } } return e; }
130131132133134135136137138139140
if (e.isExpired()) { mortalEntries.remove(k); numEntries.getAndDecrement(); e = null; } else { e.touch(); } } return e; }
101102103104105106107108109110111
if (e != null) { if (e.isExpired()) { entries.remove(k); e = null; } else { e.touch(); } } return e; }
731732733734735736737738739740741
if (ice != null) { if (ice.isExpired()) { remove(k); ice = null; } else { ice.touch(); } } return ice; }
5758596061626364656667
3738394041424344454647
if (ice != null) { if (ice.isExpired()) { remove(k); ice = null; } else { ice.touch(); boolean needToUnlockSegment = false; try { s.lock(); // we need to lock this segment to safely update links needToUnlockSegment = true; updateLinks(le);
140141142143144145146147148149150
long currentTimeMillis = timeService.wallClockTime(); if (e.isExpired(currentTimeMillis)) { entries.remove(k); e = null; } else { e.touch(currentTimeMillis); } } return e; }
137138139140141142143144145146147