[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-251) Create a better mechanism for passing in Flags

Manik Surtani (JIRA) jira-events at lists.jboss.org
Tue Nov 3 18:52:05 EST 2009


     [ https://jira.jboss.org/jira/browse/ISPN-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani resolved ISPN-251.
--------------------------------

    Resolution: Done


In trunk as rev. 1096

> Create a better mechanism for passing in Flags
> ----------------------------------------------
>
>                 Key: ISPN-251
>                 URL: https://jira.jboss.org/jira/browse/ISPN-251
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 4.0.0.CR1
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>            Priority: Critical
>             Fix For: 4.0.0.CR2
>
>
> The current API is confusing and can cause the wrong method to be invoked.  See mail list thread for discussion, but the best approach seems to be to follow a 'buider' style API, e.g.,
> cache.withFlags(FLAG1, FLAG2, FLAG3).put(k, v);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list