116117118119120121122123124125126
parsedTTL = 3600; } } Element cacheElement = new Element(id, id, false, parsedTTL, parsedTTL); cacheElement.resetAccessStatistics(); cache.put(cacheElement); } /** * Return the given identifier if it is contained in the cache, otherwise null.
122123124125126127128129130131132
parsedTTL = 3600; } } Element cacheElement = new Element(identifier, identifier, parsedTTL, parsedTTL); cacheElement.resetAccessStatistics(); cache.put(cacheElement); } /** * Return true if the given identifier is contained in the cache