jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-1983) Provide change log consolidator
Date Tue, 17 Feb 2009 18:09:03 GMT

    [ https://issues.apache.org/jira/browse/JCR-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674283#action_12674283
] 

Michael Dürig commented on JCR-1983:
------------------------------------

The patch adds an interface o.a.j.spi.commons.batch.ChangeLog. A ChangeLog is a specialized
Batch which keeps a list of Operations. The apply method applies these operations to another
batch. 

There are two implementations of the ChangLog interface in the patch: ChangeLogImpl and ConsolidatingChangeLog.


ChangeLogImpl implements the default behavior for a ChangeLog. ConsolidatingChangeLog is a
specialization of ChangeLogImpl and does some simple consolidation (i.e. addNode followed
by deleteNode operations cancel each other).


> Provide change log consolidator
> -------------------------------
>
>                 Key: JCR-1983
>                 URL: https://issues.apache.org/jira/browse/JCR-1983
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-spi-commons
>            Reporter: Michael Dürig
>            Priority: Minor
>         Attachments: JCR-1983.patch
>
>
> spi-commons should provide base implementations for consolidating change logs (Batch).


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


Mime
View raw message