5758596061626364656667
if (e.isExpired()) { mortalEntries.remove(k); numEntries.getAndDecrement(); e = null; } else { e.touch(); } } return e; }
135136137138139140141142143144145
long currentTimeMillis = timeService.wallClockTime(); if (e.isExpired(currentTimeMillis)) { entries.remove(k); e = null; } else { e.touch(currentTimeMillis); } } return e; }
654655656657658659660661662663664
if (ice != null) { if (ice.isExpired()) { remove(k); ice = null; } else { ice.touch(); } } return ice; }
2930313233343536373839
if (ice != null) { if (ice.isExpired()) { remove(k); ice = null; } else { ice.touch(); updateLinks(le); } } return ice; }
124125126127128129130131132133134
long currentTimeMillis = System.currentTimeMillis(); if (e.isExpired(currentTimeMillis)) { entries.remove(k); e = null; } else { e.touch(currentTimeMillis); } } return e; }
3839404142434445464748
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);
127128129130131132133134135136137
if (e != null) { if (e.isExpired(System.currentTimeMillis())) { entries.remove(k); e = null; } else { e.touch(); } } return e; }
733734735736737738739740741742743
140141142143144145146147148149150