AMashenkov commented on a change in pull request #214:
URL: https://github.com/apache/ignite-3/pull/214#discussion_r669393961



##########
File path: modules/api/src/main/java/org/apache/ignite/table/TableView.java
##########
@@ -351,4 +353,9 @@
      */
     @NotNull <T extends Serializable> CompletableFuture<Map<R, T>> 
invokeAllAsync(@NotNull Collection<R> keyRecs,
         InvokeProcessor<R, R, T> proc);
+
+    /**
+     * @return Current transaction or null if a table is not enlisted in any 
transaction.
+     */
+    @Nullable Transaction transaction();

Review comment:
       Does it make sense to have tx() method in addition (or maybe rename 
this) just for short?




-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to