@SuppressWarnings("rawtypes") protected GroovyPageScriptSource lookupCache(final GroovyPageLocatorCacheKey cacheKey, Callable<GroovyPageScriptSource> updater) { GroovyPageScriptSource scriptSource = null; if (cacheTimeout == 0) { try { scriptSource = updater.call(); } catch (Exception e) { throw new CacheEntry.UpdateException(e); } } else { scriptSource = CacheEntry.getValue(uriResolveCache, cacheKey, cacheTimeout, updater, new Callable<CacheEntry>() { @Override public CacheEntry call() throws Exception { return new CustomCacheEntry(); } }, true, null); } return scriptSource == NULL_SCRIPT ? null : scriptSource; }