jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1386527 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
Date Mon, 17 Sep 2012 09:28:42 GMT
Author: thomasm
Date: Mon Sep 17 09:28:41 2012
New Revision: 1386527

URL: http://svn.apache.org/viewvc?rev=1386527&view=rev
Log:
OAK-304 Rename ContentSession.getCurrentRoot() - document that changes are usually visible

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java?rev=1386527&r1=1386526&r2=1386527&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
Mon Sep 17 09:28:41 2012
@@ -72,7 +72,10 @@ public interface ContentSession extends 
      * in that subtree the underlying Microkernel.
      * <p>
      * The root instance gives you a stable view of the tree at the time the
-     * root is acquired.
+     * root is acquired. Changes by other sessions that were committed at the
+     * time this method is called are usually visible, even thought there are no
+     * strict guarantees that all changes are visible, specially when clustering
+     * is used.
      * <p>
      * Please note this method is possibly expensive because it internally reads
      * from the backend to detect if there were any changes (from any session).



Mime
View raw message