Github user arunmahadevan commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1470#discussion_r66785298
  
    --- Diff: storm-core/src/jvm/org/apache/storm/state/KeyValueState.java ---
    @@ -45,4 +45,11 @@
          * @return the value or defaultValue if no mapping is found
          */
         V get(K key, V defaultValue);
    +
    +    /**
    +     * Deletes the value mapped to the key, if there is any
    +     *
    +     * @param key   the key
    +     */
    +    void delete(K key);
    --- End diff --
    
    Could probably be changed to `V remove(K key)` along the lines of 
java.util.Map.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to