Home | History | Annotate | Download | only in util

Lines Matching defs:lifetime

44  *  . optional lifetime, specified in seconds.
120 * lifetime for entries, with the values held by SoftReferences.
128 * specified maximum lifetime (in seconds), with the values held
137 * lifetime for entries, with the values held by standard references.
153 * specified maximum lifetime (in seconds), with the values held
254 private long lifetime;
264 public MemoryCache(boolean soft, int maxSize, int lifetime) {
266 this.lifetime = lifetime * 1000;
320 if (lifetime == 0) {
362 long expirationTime = (lifetime == 0) ? 0 :
363 System.currentTimeMillis() + lifetime;
391 long time = (lifetime == 0) ? 0 : System.currentTimeMillis();
434 lifetime = timeout > 0 ? timeout * 1000L : 0L;
437 System.out.println("** lifetime reset to " + timeout);