Skip to content

Commit 3b1bca2

Browse files
committed
doc
1 parent 8f9e501 commit 3b1bca2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: core/src/main/java/com/arangodb/model/AqlQueryOptions.java

+4
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,10 @@ public Boolean getAllowRetry() {
500500
* {@link com.arangodb.ArangoCursor#next()} in case of I/O exceptions, since the request to
501501
* fetch the next batch is not idempotent (i.e. the cursor may advance multiple times on the
502502
* server).
503+
* <p/>
504+
* Note: once you successfully received the last batch, you should call
505+
* {@link com.arangodb.ArangoCursor#close()} so that the server does not unnecessary keep the
506+
* batch until the cursor times out ({@link AqlQueryOptions#ttl(Integer)}).
503507
* @return options
504508
* @since ArangoDB 3.11
505509
*/

0 commit comments

Comments
 (0)