You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by al...@apache.org on 2023/09/08 07:19:07 UTC

[ignite] branch master updated: IGNITE-18330 Fix javadoc for tx.suspend()/tx.resume() - Fixes #10604.

This is an automated email from the ASF dual-hosted git repository.

alexpl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 24754c21580 IGNITE-18330 Fix javadoc for tx.suspend()/tx.resume() - Fixes #10604.
24754c21580 is described below

commit 24754c215803b9b5d0bd97905609dbda05043d3d
Author: bin.yin <61...@qq.com>
AuthorDate: Fri Sep 8 10:17:59 2023 +0300

    IGNITE-18330 Fix javadoc for tx.suspend()/tx.resume() - Fixes #10604.
    
    Signed-off-by: Aleksey Plekhanov <pl...@gmail.com>
---
 .../org/apache/ignite/cache/store/jdbc/CacheJdbcPojoStoreFactory.java | 2 +-
 .../ignite/internal/processors/cache/GridCacheSharedContext.java      | 2 +-
 .../internal/processors/cache/distributed/near/GridNearTxLocal.java   | 2 +-
 .../src/main/java/org/apache/ignite/transactions/Transaction.java     | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheJdbcPojoStoreFactory.java b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheJdbcPojoStoreFactory.java
index 0bf6de6e3e6..4fecc335345 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheJdbcPojoStoreFactory.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheJdbcPojoStoreFactory.java
@@ -205,7 +205,7 @@ public class CacheJdbcPojoStoreFactory<K, V> implements Factory<CacheAbstractJdb
     }
 
     /**
-     * Get maximum batch size for delete and delete operations.
+     * Get maximum batch size for write and delete operations.
      *
      * @return Maximum batch size.
      */
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSharedContext.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSharedContext.java
index e6f9f70e124..4b7ccb7fcd2 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSharedContext.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSharedContext.java
@@ -1135,7 +1135,7 @@ public class GridCacheSharedContext<K, V> {
     }
 
     /**
-     * Suspends transaction. It could be resume later. Supported only for optimistic transactions.
+     * Suspends transaction. It could be resume later.
      *
      * @param tx Transaction to suspend.
      * @throws IgniteCheckedException If suspension failed.
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxLocal.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxLocal.java
index 7e218c68581..0d76760d1ed 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxLocal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxLocal.java
@@ -3460,7 +3460,7 @@ public class GridNearTxLocal extends GridDhtTxLocalAdapter implements GridTimeou
     }
 
     /**
-     * Suspends transaction. It could be resumed later. Supported only for optimistic transactions.
+     * Suspends transaction. It could be resumed later.
      *
      * @throws IgniteCheckedException If the transaction is in an incorrect state, or timed out.
      */
diff --git a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
index e81867b9cac..5e6d9f61f5b 100644
--- a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
+++ b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
@@ -277,14 +277,14 @@ public interface Transaction extends AutoCloseable, IgniteAsyncSupport {
     public IgniteFuture<Void> rollbackAsync() throws IgniteException;
 
     /**
-     * Resume a transaction if it was previously suspended. <strong>Supported only for optimistic transactions.</strong>
+     * Resume a transaction if it was previously suspended.
      *
      * @throws IgniteException If resume failed.
      */
     public void resume() throws IgniteException;
 
     /**
-     * Suspends a transaction. It could be resumed later. <strong>Supported only for optimistic transactions.</strong>
+     * Suspends a transaction. It could be resumed later.
      *
      * @throws IgniteException If suspension failed.
      */