Interface Notifiable

    • Method Detail

      • addChangeListener

        void addChangeListener​(DataStructureDataChangeListener collectionDataNotificationListener,
                               java.util.EnumSet<EventType> eventTypes,
                               DataTypeEventDataFilter datafilter)
                        throws CacheException
        Allows you to register collection event notifications like Add, Update, and Remove on the collection.
        Parameters:
        collectionDataNotificationListener - The listener 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.
        Throws:
        CacheException
      • removeChangeListener

        void removeChangeListener​(DataStructureDataChangeListener collectionDataNotificationListener,
                                  java.util.EnumSet<EventType> eventTypes)
                           throws java.lang.Exception
        Allows you to unregister collection event notification.
        Parameters:
        collectionDataNotificationListener - The listener that is invoked when an item is added, updated or removed from the cache.
        eventTypes - The event type/types that are to be unregistered.
        Throws:
        java.lang.Exception