|
KIE Internal 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheManager
Maintains a cache of various items that are long lived or expensive to be created frequently so they can benefit from being cached.
| Method Summary | |
|---|---|
void |
add(String key,
Object value)
Adds a given value into the cache under given key |
void |
dispose()
Disposes cache and cleans up/closes its stored resources of applicable |
Object |
get(String key)
Retrieves item from a cache if exists |
Object |
remove(String key)
Removes the item from cache if exists |
| Method Detail |
|---|
void add(String key,
Object value)
key - unique key for the item to be storedvalue - actual value to be cachedObject get(String key)
key - key for the item in the cache
Object remove(String key)
key - key for the item in the cache
void dispose()
for details
|
KIE Internal 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||