public class SyncModeTransactionTable extends Object
TransactionTable that registers the RemoteCache as a Synchronization in the transaction.
Only a single Synchronization is registered even if multiple RemoteCaches interact with the same
transaction.
When more than one RemoteCache is involved in the Transaction, the prepare, commit and rollback
requests are sent sequential and they are ordered by the RemoteCache's name.
If a RemoteCache is read-only, the commit/rollback isn't invoked.
| Constructor and Description |
|---|
SyncModeTransactionTable(long timeout) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> TransactionContext<K,V> |
enlist(TransactionalRemoteCacheImpl<K,V> txRemoteCache,
Transaction tx) |
void |
start(TransactionOperationFactory operationFactory)
It initializes the
TransactionTable with the TransactionOperationFactory to use. |
public <K,V> TransactionContext<K,V> enlist(TransactionalRemoteCacheImpl<K,V> txRemoteCache, Transaction tx)
public final void start(TransactionOperationFactory operationFactory)
TransactionTableTransactionTable with the TransactionOperationFactory to use.start in interface TransactionTableoperationFactory - The TransactionOperationFactory to use.Copyright © 2022 JBoss by Red Hat. All rights reserved.