CacheStorageWithGetSize
, ConcurrentCacheStorage
MruCacheStorage
, NullCacheStorage
, SoftCacheStorage
, StrongCacheStorage
public interface CacheStorage
Map
interface.
The implementations can be coded in a non-threadsafe manner as the natural
user of the cache storage, TemplateCache
does the necessary
synchronization.Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
java.lang.Object |
get(java.lang.Object key) |
|
void |
put(java.lang.Object key,
java.lang.Object value) |
|
void |
remove(java.lang.Object key) |