Counter
, DistributedHashSet<T>
, DistributedList<T>
, DistributedMap<K,V>
, DistributedQueue<T>
public interface Notifiable
Modifier and Type | Method | Description |
---|---|---|
void |
addChangeListener(DataStructureDataChangeListener collectionDataNotificationListener,
java.util.EnumSet<EventType> eventTypes,
DataTypeEventDataFilter datafilter) |
Allows you to register collection event notifications like Add, Update, and Remove on the collection.
|
void |
removeChangeListener(DataStructureDataChangeListener collectionDataNotificationListener,
java.util.EnumSet<EventType> eventTypes) |
Allows you to unregister collection event notification.
|
void addChangeListener(DataStructureDataChangeListener collectionDataNotificationListener, java.util.EnumSet<EventType> eventTypes, DataTypeEventDataFilter datafilter) throws CacheException
collectionDataNotificationListener
- The listeber that is invoked when an item is added, updated or removed from the cache.eventTypes
- The event type/types that are to be registered.datafilter
- An enum which allows you to specify to which extent you want the data with the event.CacheException
void removeChangeListener(DataStructureDataChangeListener collectionDataNotificationListener, java.util.EnumSet<EventType> eventTypes) throws java.lang.Exception
collectionDataNotificationListener
- The listener that was registered with collection changed notification.eventTypes
- The event type/types that are to be unregistered.java.lang.Exception