public void remove(String key) { if (!cacheEnabled) { return; } contentCache.remove(key); log.debug("REMOVE " + key); }
public void clear() { if (!cacheEnabled) { return; } contentCache.clear(); log.debug("CLEAR"); }
public void put(String key, Object value) { if (!cacheEnabled) { return; } contentCache.put(key, new LazyExpiringCacheEntry(value)); log.debug("PUT " + key); }