|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheCallBackI
Interface for Cache callback.
Method Summary | |
---|---|
java.lang.Object |
findMissingKeyValue(java.lang.Object key)
This shall find and return the value of a key that was not contained into the IdCache. |
java.lang.Object |
insertKey(java.lang.Object key,
java.lang.Object value)
This is called when a put() is invoked in the cache, and the key didn't already exist in the cache. |
java.lang.Object |
removeKey(java.lang.Object key)
Removes a key and returns it's value (not necessary if you don't use the value later) This is called by the IdCache.remove() and the return value is returned by that. |
boolean |
updateKey(java.lang.Object key,
java.lang.Object value)
This is called when an update() is invoked in the cache. |
Method Detail |
---|
java.lang.Object findMissingKeyValue(java.lang.Object key) throws java.lang.Exception
key
- The key that is not contained in the idCache
java.lang.Exception
java.lang.Object removeKey(java.lang.Object key) throws java.lang.Exception
key
- The key to remove
java.lang.Exception
java.lang.Object insertKey(java.lang.Object key, java.lang.Object value) throws java.lang.Exception
key
- The key as passed to the cache.put()value
- The value as passed to the cache.put()
java.lang.Exception
boolean updateKey(java.lang.Object key, java.lang.Object value) throws java.lang.Exception
key
- The key as passed to the cache.put()value
- The value as passed to the cache.put()
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |