org.infinispan.client.hotrod.transaction.manager.RemoteTransaction Maven / Gradle / Ivy
package org.infinispan.client.hotrod.transaction.manager;
import jakarta.transaction.Transaction;
import org.infinispan.commons.tx.TransactionImpl;
/**
* A {@link Transaction} implementation used by {@link RemoteTransactionManager}.
*
* @author Pedro Ruivo
* @since 9.3
* @see RemoteTransactionManager
*/
final class RemoteTransaction extends TransactionImpl {
RemoteTransaction(RemoteTransactionManager transactionManager) {
super();
setXid(RemoteXid.create(transactionManager.getTransactionManagerId()));
}
}