You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/08/22 18:53:51 UTC

[jira] [Created] (MAVIBOT-10) Add a Replace method

Emmanuel Lecharny created MAVIBOT-10:
----------------------------------------

             Summary: Add a Replace method
                 Key: MAVIBOT-10
                 URL: https://issues.apache.org/jira/browse/MAVIBOT-10
             Project: Mavibot
          Issue Type: Improvement
    Affects Versions: 1.0.0-M1
            Reporter: Emmanuel Lecharny
            Assignee: Emmanuel Lecharny
             Fix For: 1.0.0-M2


Currently, if we want to replace an old value by a new one, we have no other way than dropping the old value, and to add the new value. This results into 2 operations, when the BTree should be updated only once.

Adding an replace(K, oldVal, newVal) would be very good.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira