You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2008/07/30 05:09:31 UTC

[jira] Updated: (ABDERA-190) [core] serialization and concurrency updates to AbstractListParseFilter and AbstractParseFilter

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

Nathan Beyer updated ABDERA-190:
--------------------------------

    Attachment: ABDERA-190.patch

> [core] serialization and concurrency updates to AbstractListParseFilter and AbstractParseFilter
> -----------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-190
>                 URL: https://issues.apache.org/jira/browse/ABDERA-190
>             Project: Abdera
>          Issue Type: Improvement
>    Affects Versions: 0.4.0
>            Reporter: Nathan Beyer
>         Attachments: ABDERA-190.patch
>
>
> There are currently some weaknesses in the serialization and concurrency facets of the AbstractListParseFilter and AbstractParseFilter.
> Serialization adjustments
> * declare explicit serialVersionUID fields
> * make Collection-based fields transient and implement custom read/write methods
> Concurrency adjustments
> * remove the Collections.synchronizedXXX types
> * use synchronized blocks to wrap all access to the fields; this will increase the atomicity to the complete interactions with the fields, instead just each method call
> Open questions
> * since AbstractListParseFilter adds thread-safety, should the AbstractParseFilter also be thread-safe (the 'toggle' method's not safe because it's not atomic)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.