You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2012/03/06 17:11:06 UTC
svn commit: r1297549 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
Author: jukka
Date: Tue Mar 6 16:11:06 2012
New Revision: 1297549
URL: http://svn.apache.org/viewvc?rev=1297549&view=rev
Log:
OAK-3: Internal tree model
Restore the length argument to getChildNodeEntries()
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java?rev=1297549&r1=1297548&r2=1297549&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java Tue Mar 6 16:11:06 2012
@@ -141,8 +141,10 @@ public interface NodeState {
* offset is greater than the offset of the last child node entry.
*
* @param offset zero-based offset of the first entry to return
+ * @param length maximum number of entries to return,
+ * or -1 for all remaining entries
* @return requested child node entries in some stable order
*/
- Iterable<ChildNodeEntry> getChildNodeEntries(long offset);
+ Iterable<ChildNodeEntry> getChildNodeEntries(long offset, long length);
}