[ 
https://issues.apache.org/jira/browse/MAHOUT-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428850#comment-13428850
 ] 

Renaud Richardet commented on MAHOUT-1050:
------------------------------------------

Hi Sebastian,

> Could you enhance the patch to make the model threadsafe?

Sounds good. Shall I use import util.concurrent.locks.ReentrantLock like in 
MongoDBDataModel?

> Btw: Your patch doesn't adhere to Mahout style guidelines and Apache doesn't 
> allow @author tags.

Ok, will change that.
                
> mutable in-memory datamodel
> ---------------------------
>
>                 Key: MAHOUT-1050
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1050
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>    Affects Versions: 0.7
>         Environment: independant
>            Reporter: Renaud Richardet
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: MutableDataModel.java
>
>
> I could not find an in-memory DataModel that supports setPreference / 
> removePreference / refresh. Instead, they all "recreate" a new 
> GenericDataModel anytime one adds or remove preferences. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to