File tree Expand file tree Collapse file tree 3 files changed +173
-82
lines changed
main/java/com/marklogic/client
test/java/com/marklogic/client/test Expand file tree Collapse file tree 3 files changed +173
-82
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,11 @@ public T next() {
5858 return docPage .nextContent (handle ).get ();
5959 }
6060
61+ @ Override
62+ public void close () {
63+ docPage .close ();
64+ }
65+
6166 @ Override
6267 public void remove () {
6368 throw new UnsupportedOperationException ();
Original file line number Diff line number Diff line change 2020/** Enables pagination over objects retrieved from the server and deserialized by
2121 * PojoRepository read and search methods.
2222 */
23- public interface PojoPage <T > extends Page <T > {}
23+ public interface PojoPage <T > extends Page <T > {
24+ /** Frees the underlying resources, including the http connection. */
25+ public void close ();
26+ }
You can’t perform that action at this time.
0 commit comments