Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2588e04

Browse files
committedMay 10, 2023
doc
1 parent eca4f57 commit 2588e04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎core/src/main/java/com/arangodb/model/AqlQueryOptions.java

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

0 commit comments

Comments
 (0)
Please sign in to comment.