Class PerCacheTxTable
- java.lang.Object
-
- org.infinispan.server.hotrod.tx.table.PerCacheTxTable
-
-
Constructor Summary
Constructors Constructor Description PerCacheTxTable(Address address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createLocalTx(XidImpl xid, EmbeddedTransaction tx)
Adds theEmbeddedTransaction
in the local transaction table.ClientAddress
getClientAddress()
EmbeddedTransaction
getLocalTx(XidImpl xid)
boolean
isEmpty()
testing onlyvoid
removeLocalTx(XidImpl xid)
Removes the localEmbeddedTransaction
associated toxid
.
-
-
-
Constructor Detail
-
PerCacheTxTable
public PerCacheTxTable(Address address)
-
-
Method Detail
-
getClientAddress
public ClientAddress getClientAddress()
-
getLocalTx
public EmbeddedTransaction getLocalTx(XidImpl xid)
- Returns:
- The local
EmbeddedTransaction
associated to thexid
.
-
removeLocalTx
public void removeLocalTx(XidImpl xid)
Removes the localEmbeddedTransaction
associated toxid
.
-
createLocalTx
public void createLocalTx(XidImpl xid, EmbeddedTransaction tx)
Adds theEmbeddedTransaction
in the local transaction table.
-
isEmpty
public boolean isEmpty()
testing only
-
-