Class PerCacheTxTable


  • public class PerCacheTxTable
    extends Object
    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 Detail

      • PerCacheTxTable

        public PerCacheTxTable​(org.infinispan.remoting.transport.Address address)
    • Method Detail

      • getLocalTx

        public org.infinispan.transaction.tm.EmbeddedTransaction getLocalTx​(org.infinispan.commons.tx.XidImpl xid)
        Returns:
        The local EmbeddedTransaction associated to the xid.
      • removeLocalTx

        public void removeLocalTx​(org.infinispan.commons.tx.XidImpl xid)
        Removes the local EmbeddedTransaction associated to xid.
      • createLocalTx

        public void createLocalTx​(org.infinispan.commons.tx.XidImpl xid,
                                  org.infinispan.transaction.tm.EmbeddedTransaction tx)
        Adds the EmbeddedTransaction in the local transaction table.
      • isEmpty

        public boolean isEmpty()
        testing only