CacheDataModificationListener
public class CacheDataModification extends java.lang.Object implements CacheDataModificationListener
Constructor | Description |
---|---|
CacheDataModification(CacheDataModificationListener listener) |
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.
|
public CacheDataModification(CacheDataModificationListener listener)
public void onCacheDataModified(java.lang.String key, CacheEventArg eventArgs)
CacheDataModificationListener
onCacheDataModified
in interface CacheDataModificationListener
key
- The cache key used to reference the item.eventArgs
- The cache event arguments.public void onCacheCleared(java.lang.String cacheName)
CacheDataModificationListener
onCacheCleared
in interface CacheDataModificationListener
cacheName
- The name of the cache that is cleared.