public class CacheEventArg extends EventArg
CacheDataModificationListener
is executed
CacheEventArg contains necessary information to identify the event and perform necessary actions accordingly.
It inherits EventArg
.
This class is consistent for both selective and general eventsModifier and Type | Method | Description |
---|---|---|
com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason |
getCacheItemRemovedReason() |
Only applicable for EventType.ItemRemove
Otherwise default value is DependencyChanged.
|
CacheEventDescriptor |
getDescriptor() |
Only applicable for general events otherwise it will be null.
|
getCacheName, getEventType, getItem, getOldItem
public final CacheEventDescriptor getDescriptor()
public final com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason getCacheItemRemovedReason()