org.infinispan.context.impl.TxInvocationContext Maven / Gradle / Ivy
package org.infinispan.context.impl;
import org.infinispan.commands.write.WriteCommand;
import org.infinispan.context.InvocationContext;
import org.infinispan.transaction.impl.AbstractCacheTransaction;
import org.infinispan.transaction.xa.GlobalTransaction;
import javax.transaction.Transaction;
import java.util.Collection;
import java.util.List;
import java.util.Set;
/**
* Interface defining additional functionality for invocation contexts that propagate within a transaction's scope.
*
* @author [email protected]
* @since 4.0
*/
public interface TxInvocationContext extends InvocationContext {
/**
* Checks if there are modifications performed within the tx's scope. Any modifications having Flag.CACHE_MODE_LOCAL are ignored.
*/
boolean hasModifications();
/**
* Returns the set of keys that are affected by this transaction. Used to generate appropriate recipient groups
* for cluster-wide prepare and commit calls.
*/
Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy