Class SyncModeTransactionTable
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable
-
- All Implemented Interfaces:
TransactionTable
public class SyncModeTransactionTable extends Object implements TransactionTable
ATransactionTable
that registers theRemoteCache
as aSynchronization
in the transaction.Only a single
Synchronization
is registered even if multipleRemoteCache
s interact with the same transaction.When more than one
RemoteCache
is involved in theTransaction
, the prepare, commit and rollback requests are sent sequential and they are ordered by theRemoteCache
's name.If a
RemoteCache
is read-only, the commit/rollback isn't invoked.- Since:
- 9.3
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description SyncModeTransactionTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
TransactionContext<K,V>enlist(TransactionalRemoteCacheImpl<K,V> txRemoteCache, Transaction tx)
-
-
-
Method Detail
-
enlist
public <K,V> TransactionContext<K,V> enlist(TransactionalRemoteCacheImpl<K,V> txRemoteCache, Transaction tx)
- Specified by:
enlist
in interfaceTransactionTable
-
-