nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Nioche (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1606) Check that Factory classes use the cache in a thread safe way
Date Mon, 07 Oct 2013 12:02:41 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julien Nioche updated NUTCH-1606:
---------------------------------

    Attachment: NUTCH-1606.patch

Synchronized methods on ObjectCache + calls from FetchScheduleFactory and SignatureFactory.

I haven't checked calls from URLNormalizers or ParserFactory but the others look fine

> Check that Factory classes use the cache in a thread safe way
> -------------------------------------------------------------
>
>                 Key: NUTCH-1606
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1606
>             Project: Nutch
>          Issue Type: Task
>    Affects Versions: 1.7, 2.2.1
>            Reporter: Julien Nioche
>            Priority: Minor
>         Attachments: NUTCH-1606.patch
>
>
> I found in [NUTCH-1604] that the ProtocolFactory class was not handling access to the
cache properly. The same mechanism is used in other Factory classes so we should make sure
that they are properly synchronized + make ObjectCache thread safe as well



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message