CacheDataModification
public interface CacheDataModificationListener
Modifier and Type | Method | Description |
---|---|---|
void |
onCacheCleared(java.lang.String cacheName) |
Defines a listener method for notifying applications when cache is cleared.
|
void |
onCacheDataModified(java.lang.String key,
CacheEventArg eventArgs) |
Defines a listener method for notifying applications when an item is updated in the cache.
|
void onCacheDataModified(java.lang.String key, CacheEventArg eventArgs)
key
- The cache key used to reference the item.eventArgs
- The cache event arguments.void onCacheCleared(java.lang.String cacheName)
cacheName
- The name of the cache that is cleared.