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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createLocalTx
(XidImpl xid, EmbeddedTransaction tx) Adds theEmbeddedTransaction
in the local transaction table.getLocalTx
(XidImpl xid) boolean
isEmpty()
testing onlyvoid
removeLocalTx
(XidImpl xid) Removes the localEmbeddedTransaction
associated toxid
.
-
Constructor Details
-
PerCacheTxTable
-
-
Method Details
-
getClientAddress
-
getLocalTx
- Returns:
- The local
EmbeddedTransaction
associated to thexid
.
-
removeLocalTx
Removes the localEmbeddedTransaction
associated toxid
. -
createLocalTx
Adds theEmbeddedTransaction
in the local transaction table. -
isEmpty
public boolean isEmpty()testing only
-