Key - The type for the cache key entriesValue - The type for the cache value entriespublic interface OgnlCache<Key,Value>
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Value |
get(Key key) |
int |
getEvictionLimit() |
void |
put(Key key,
Value value) |
void |
putIfAbsent(Key key,
Value value) |
Value |
remove(Key key)
Removes the mapping for the given key, if present.
|
void |
setEvictionLimit(int cacheEvictionLimit) |
int |
size() |
Value remove(Key key)
key - the key to removenull if noneint size()
void clear()
int getEvictionLimit()
void setEvictionLimit(int cacheEvictionLimit)
Copyright © 2000–2026 Apache Software Foundation. All rights reserved.