AMashenkov commented on code in PR #828:
URL: https://github.com/apache/ignite-3/pull/828#discussion_r882610573


##########
modules/api/src/main/java/org/apache/ignite/sql/Session.java:
##########
@@ -121,11 +217,18 @@ int[] executeBatch(
     @Nullable Object property(String name);
 
     /**
-     * Invalidates session, cleanup remote session resources, and stops all 
queries that are running within the current session.
+     * Invalidates session, cleans up remote session resources, and stops all 
queries that are running within the current session.
      */
     @Override
     void close();
 
+    /**
+     * Invalidates session, cleans up remote session resources, and stops all 
queries that are running within the current session.
+     *
+     * @return Operation future.
+     */
+    CompletableFuture<Void> closeAsync();

Review Comment:
   ```suggestion
       CompletableFuture<Void> closeAsync();
       
        /**
        * Invalidates session, cleans up remote session resources, and stops 
all queries that are running within the current session.
        *
        * @return Publisher.
        */
       Flow.Publisher<Void> closeReactive();
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to