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.12.2
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 methodGetList<T>
Returns the transactional list instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetMap<TKey, TValue>
Returns the transactional distributed map instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetMultiMap<TKey, TValue>
Returns the transactional multimap instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetQueue<T>
Returns the transactional queue instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetSet<T>
Returns the transactional set instance with the specified name.
(Inherited from ITransactionalTaskContext.)
Public methodGetTransactionalObject<T> (Inherited from ITransactionalTaskContext.)
Public methodGetTxnId
Gets the id that uniquely identifies the transaction.
Public methodRollbackTransaction
Rollback of the current transaction.
Top
See Also