CacheTransactionManagerTryResume Method |
Name | Description | |
---|---|---|
![]() | TryResume(TransactionId) |
On the current thread, resumes a transaction that was previously suspended
using [!:suspend].
This method is equivalent to
if (isSuspended(txId)) {
resume(txId);
} Since 3.6.2 |
![]() | TryResume(TransactionId, Int32) |
On the current thread, resumes a transaction that was previously suspended
using [!:suspend], or waits for the specified timeout interval if
the transaction has not been suspended. This method will return if:
Another thread suspends the transaction Another thread calls commit/rollback on the transaction This thread has waited for the specified timeout This method returns immediately if TransactionId returns false.Since 3.6.2 |