Class PerCacheTxTable
java.lang.Object
org.infinispan.server.hotrod.tx.table.PerCacheTxTable
A Transaction Table for client transaction.
It stores the global state of a transaction and the map between the XidImpl and Transaction's run
locally.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateLocalTx(XidImpl xid, EmbeddedTransaction tx) Adds theEmbeddedTransactionin the local transaction table.getLocalTx(XidImpl xid) booleanisEmpty()testing onlyvoidremoveLocalTx(XidImpl xid) Removes the localEmbeddedTransactionassociated toxid.
-
Constructor Details
-
PerCacheTxTable
-
-
Method Details
-
getClientAddress
-
getLocalTx
- Returns:
- The local
EmbeddedTransactionassociated to thexid.
-
removeLocalTx
Removes the localEmbeddedTransactionassociated toxid. -
createLocalTx
Adds theEmbeddedTransactionin the local transaction table. -
isEmpty
public boolean isEmpty()testing only
-