Click or drag to resize

ITransactionContext Interface

Provides a context to do transactional operations; so beginning/committing transactions, but also retrieving transactional data-structures like the Hazelcast.Core.ITransactionalMap<K, V> .

Namespace:  Hazelcast.Transaction
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
public interface ITransactionContext : ITransactionalTaskContext

The ITransactionContext type exposes the following members.

Methods
  NameDescription
Public methodBeginTransaction
Begins a transaction.
Public methodCommitTransaction
Commits a transaction.
Public methodGetListT
Returns the transactional list instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetMapTKey, TValue
Returns the transactional distributed map instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetMultiMapTKey, TValue
Returns the transactional multimap instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetQueueT
Returns the transactional queue instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetSetT
Returns the transactional set instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetTransactionalObjectT (Inherited from ITransactionalTaskContext.)
Public methodGetTxnId
Gets the id that uniquely identifies the transaction.
Public methodRollbackTransaction
Rollback of the current transaction.
Top
See Also