/** * set a RenderResult in cache * * @param key * @param rr * @param ttl */ public static void set(String key, RenderResult rr, String ttl) { int tl = Time.parseDuration(ttl) * 1000; CachedItemStatus cachedItemStatus = new CachedItemStatus(tl); cacheset(key, ttl, new CachedRenderResult(cachedItemStatus, rr)); // cacheTacker.put(key, cachedItemStatus); }