
org.infinispan.client.hotrod.impl.transaction.TransactionTable Maven / Gradle / Ivy
The newest version!
package org.infinispan.client.hotrod.impl.transaction;
import org.infinispan.client.hotrod.impl.operations.ManagerOperationsFactory;
import org.infinispan.client.hotrod.impl.transport.netty.OperationDispatcher;
import jakarta.transaction.Transaction;
/**
* A {@link Transaction} table that knows how to interact with the {@link Transaction} and how the {@link
* TransactionalRemoteCacheImpl} is enlisted.
*
* @author Pedro Ruivo
* @since 9.3
*/
public interface TransactionTable {
TransactionContext enlist(TransactionalRemoteCacheImpl txRemoteCache, Transaction tx);
/**
* It initializes the {@link TransactionTable} with the {@link ManagerOperationsFactory} to use.
*
* @param operationFactory The {@link ManagerOperationsFactory} to use.
*/
void start(ManagerOperationsFactory operationFactory, OperationDispatcher dispatcher);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy