org.infinispan.hotrod.transaction.manager.RemoteTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-hotrod-jakarta Show documentation
Show all versions of infinispan-hotrod-jakarta Show documentation
Infinispan Hot Rod Client Jakarta EE
package org.infinispan.hotrod.transaction.manager;
import jakarta.transaction.Transaction;
import org.infinispan.commons.tx.TransactionImpl;
/**
* A {@link Transaction} implementation used by {@link RemoteTransactionManager}.
*
* @since 14.0
* @see RemoteTransactionManager
*/
final class RemoteTransaction extends TransactionImpl {
RemoteTransaction(RemoteTransactionManager transactionManager) {
super();
setXid(RemoteXid.create(transactionManager.getTransactionManagerId()));
}
}