[ 
https://issues.apache.org/jira/browse/JCR-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551546
 ] 

Thomas Mueller commented on JCR-1154:
-------------------------------------

Hi,

The solution I am working on right now is: add a method

public GarbageCollector SessionImpl.createDataStoreGarbageCollector().

This method creates a data store garbage collector object and initialized it. 
If all persistence managers are IterablePersistenceManager (a new interface 
with one method: getAllNodeIds; currently implemented for all 
BundlePersistenceManager), then it will use this method to scan the repository.

If not (if other persistence managers are used), it uses the same method as now 
to scan the repository (however automatically in all workspaces).

That means the methods don't need to be made public (SessionsImpl is in the 
same package as RepositoryImpl).

Regards,
Thomas

> Database Data Store
> -------------------
>
>                 Key: JCR-1154
>                 URL: https://issues.apache.org/jira/browse/JCR-1154
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Blocker
>             Fix For: 1.4
>
>         Attachments: jr-1.3.1-bea.zip
>
>
> We want to have a database backed data store implementation.
> An implementation using files is already available as part of JCR-926.

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

Reply via email to