CacheTransactionManagerTryResume Method (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
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic bool TryResume(
TransactionId transactionId,
int waitTimeInMilliSec
)
Public Function TryResume (
transactionId As TransactionId,
waitTimeInMilliSec As Integer
) As Boolean
public:
bool TryResume(
TransactionId^ transactionId,
int waitTimeInMilliSec
)
member TryResume :
transactionId : TransactionId *
waitTimeInMilliSec : int -> bool
Parameters
- transactionId
- Type: GemStone.GemFire.Cache.GenericTransactionId
the transaction to resume - waitTimeInMilliSec
- Type: SystemInt32
the maximum milliseconds to wait
Return Value
Type:
Booleantrue if the transaction was resumed, false otherwise
See Also