Interface IQueryResultUpdateListener<KeyType,​ValueType>

  • Type Parameters:
    KeyType -
    ValueType -

    public interface IQueryResultUpdateListener<KeyType,​ValueType>
    Listener interface for receiving notification from QueryResultMultimap
    • Method Detail

      • notifyPut

        void notifyPut​(KeyType key,
                       ValueType value)
        This method is called by the query result multimap when a new key-value pair is put into the multimap

        Only invoked if the contents of the multimap changed!

        Parameters:
        key - the key of the newly inserted pair
        value - the value of the newly inserted pair
      • notifyRemove

        void notifyRemove​(KeyType key,
                          ValueType value)
        This method is called by the query result multimap when key-value pair is removed from the multimap

        Only invoked if the contents of the multimap changed!

        Parameters:
        key - the key of the removed pair
        value - the value of the removed pair