jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r713162 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster: ChangeLogRecord.java ClusterNode.java
Date Tue, 11 Nov 2008 20:54:59 GMT
Author: mreutegg
Date: Tue Nov 11 12:54:58 2008
New Revision: 713162

URL: http://svn.apache.org/viewvc?rev=713162&view=rev
Log:
JCR-1839: Introduce Event.getDate()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ChangeLogRecord.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ChangeLogRecord.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ChangeLogRecord.java?rev=713162&r1=713161&r2=713162&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ChangeLogRecord.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ChangeLogRecord.java
Tue Nov 11 12:54:58 2008
@@ -109,13 +109,15 @@
      * @param events list of <code>EventState</code>s
      * @param record record
      * @param workspace workspace
+     * @param timestamp when the changes for this record were persisted.
      */
     public ChangeLogRecord(ChangeLog changes, List events,
-                           Record record, String workspace) {
+                           Record record, String workspace, long timestamp) {
         super(record, workspace);
 
         this.changes = changes;
         this.events = events;
+        this.timestamp = timestamp;
     }
 
     /**

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java?rev=713162&r1=713161&r2=713162&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
Tue Nov 11 12:54:58 2008
@@ -615,7 +615,7 @@
 
             try {
                 ChangeLogRecord clr = new ChangeLogRecord(changes, events,
-                        record, workspace);
+                        record, workspace, update.getTimestamp());
                 clr.write();
                 succeeded = true;
             } catch (JournalException e) {



Mime
View raw message