jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r1298380 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java
Date Thu, 08 Mar 2012 13:09:48 GMT
Author: dpfister
Date: Thu Mar  8 13:09:48 2012
New Revision: 1298380

URL: http://svn.apache.org/viewvc?rev=1298380&view=rev
Log:
Clarify non-similarity of writeCommit() as opposed to the other writeXXX() methods

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java?rev=1298380&r1=1298379&r2=1298380&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/mk/store/persistence/Persistence.java
Thu Mar  8 13:09:48 2012
@@ -53,5 +53,12 @@ public interface Persistence {
 
     StoredCommit readCommit(Id id) throws NotFoundException, Exception;
 
+    /**
+     * Persist a commit, with an id that is selected by the caller.
+     * 
+     * @param id commit id
+     * @param commit commit
+     * @throws Exception if an error occurs
+     */
     void writeCommit(Id id, Commit commit) throws Exception;
 }



Mime
View raw message