Skip to content

Commit

Permalink
IGNITE-18330 Fix javadoc for tx.suspend()/tx.resume() - Fixes #10604.
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksey Plekhanov <[email protected]>
  • Loading branch information
ZZ250-zZ authored and alex-plekhanov committed Sep 8, 2023
1 parent 8b21334 commit 24754c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public CacheJdbcPojoStoreFactory<K, V> setDataSource(DataSource dataSrc) {
}

/**
* Get maximum batch size for delete and delete operations.
* Get maximum batch size for write and delete operations.
*
* @return Maximum batch size.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ public IgniteInternalFuture rollbackTxAsync(GridNearTxLocal tx) {
}

/**
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3460,7 +3460,7 @@ public void addKeyMapping(IgniteTxKey key, ClusterNode node) {
}

/**
* 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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 24754c2

Please sign in to comment.