MCPcopy Create free account
hub / github.com/apache/freemarker / CacheStorage

Interface CacheStorage

src/main/java/freemarker/cache/CacheStorage.java:67–73  ·  view source on GitHub ↗

Cache storage abstracts away the storage aspects of a cache - associating an object with a key, retrieval and removal via the key. It is actually a small subset of the java.util.Map interface. The implementations can be coded in a non-threadsafe manner as the natural user of the cache storag

Source from the content-addressed store, hash-verified

65 * @author Attila Szegedi
66 */
67public interface CacheStorage
68{
69 public Object get(Object key);
70 public void put(Object key, Object value);
71 public void remove(Object key);
72 public void clear();
73}

Callers 32

getMethod · 0.65
processQueueMethod · 0.65
findTemplateSourceMethod · 0.65
findTemplateSourceMethod · 0.65
getMethod · 0.65
putMethod · 0.65
getTemplateMethod · 0.65
setUpMethod · 0.65
getTestBeanMethod · 0.65
readConfigMethod · 0.65
MultiModel1Method · 0.65

Implementers 6

MruCacheStoragesrc/main/java/freemarker/cache/MruCach
SoftCacheStoragesrc/main/java/freemarker/cache/SoftCac
StrongCacheStoragesrc/main/java/freemarker/cache/StrongC
NullCacheStoragesrc/main/java/freemarker/cache/NullCac
IdentityHashMapsrc/main/java/freemarker/ext/util/Iden
EmptyMapsrc/main/java/freemarker/template/Empt

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…