jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1865) Add the Data Store to the Jackrabbit API
Date Thu, 20 Nov 2008 12:56:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649358#action_12649358

Alexander Klimetschek commented on JCR-1865:

+1 for the data store api with Felix' extensions.

For the mark()/sweep() vs. gc() I would opt for the mark/sweep variant, since I guess the
synchronization inside the datastore implementation would be very hard to do, since the datastore
itself doesn't know all the repositories that use the same datastore location. If there will
be a future garbage collection mechanism that can directly delete items for example, the implementation
of mark() wouldn't do anything. Most clients will call mark() and sweep() in a row and the
ones that work in a shared situation would do it as Thomas noted. And we don't want people
to use the "lower-level APIs".

> Add the Data Store to the Jackrabbit API
> ----------------------------------------
>                 Key: JCR-1865
>                 URL: https://issues.apache.org/jira/browse/JCR-1865
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>         Attachments: api.patch, core.patch
> Currently, the garbage collection is not part of the Jackrabbit API. However, the data
store garbage collection must be used once in a while if the data store is enabled. I propose
to add the required interfaces to the Jackrabbit API. This will also allow to call garbage
collection using RMI.

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

View raw message