|
common-util | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CacheException | |
|---|---|
| local.tomas.util.cache | This package is used to build a fixed size cache of objects. |
| Uses of CacheException in local.tomas.util.cache |
|---|
| Methods in local.tomas.util.cache that throw CacheException | |
|---|---|
V |
CacheBackend.create(K key,
Date d)
Create new object in backend. |
CacheItem<K,V> |
CacheBackend.get(K key)
Get cache item from backend. |
V |
CacheMap.get(K key)
Get object by key. |
V |
CacheMap.getOrCreate(K key)
Get object by key or create new object if it does not exist. |
Iterator<CacheItem<K,V>> |
CacheBackend.load()
Get iterator over saved items. |
void |
CacheMap.load()
Load objects from backend. |
void |
CacheMap.put(K key,
V value)
Put object into cache. |
void |
CacheBackend.put(K key,
V value,
Date d)
Save cache item in backend. |
void |
CacheBackend.remove(K key)
Remove object from backend. |
void |
CacheMap.remove(K key)
Remove object from cache. |
void |
CacheMap.unload()
Save all object in backend. |
void |
CacheBackend.unload(K key,
Date d)
|
|
common-util | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||