Click or drag to resize
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.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public bool TryResume(
	TransactionId transactionId,
	int waitTimeInMilliSec
)

Parameters

transactionId
Type: GemStone.GemFire.Cache.GenericTransactionId
the transaction to resume
waitTimeInMilliSec
Type: SystemInt32
the maximum milliseconds to wait

Return Value

Type: Boolean
true if the transaction was resumed, false otherwise
See Also