|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- Type of the keys in the cache.T
- Type of the values bound to the keys in the cache.public interface CacheItemOperations<K,T>
Operations on a cache item that shouldn't be visible to the user --- mainly
the update()
method.
Method Summary | |
---|---|
void |
reportUpdateOk(K key)
Reports that an update of a key ended wihtout any exceptions. |
void |
reportUpdateWithException(K key,
java.lang.Throwable t)
Reports that an update of a key ended with an exception. |
void |
update()
Called by the service update thread to update all keys and associated values. |
Methods inherited from interface org.jboss.shotoku.cache.CacheItemUser |
---|
get, getFqn, getId, getInfo, getInterval, getKeysDuringUpdate, getKeysExceptions, getKeysUpdates, getMbeanName, getName, register, resetKey, setInterval, unregister |
Method Detail |
---|
void update()
void reportUpdateOk(K key)
key
- Key which has been updated.void reportUpdateWithException(K key, java.lang.Throwable t)
key
- Key which has been updated.t
- Exception which was thrown during the update.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |