Class Util
java.lang.Object
org.infinispan.server.hotrod.tx.operation.Util
Util operations to handle client transactions in Hot Rod server.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
commitLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) static void
rollbackLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout)
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
rollbackLocalTransaction
public static void rollbackLocalTransaction(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) throws javax.transaction.HeuristicRollbackException, javax.transaction.HeuristicMixedException- Throws:
javax.transaction.HeuristicRollbackException
javax.transaction.HeuristicMixedException
-
commitLocalTransaction
public static void commitLocalTransaction(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) throws javax.transaction.HeuristicRollbackException, javax.transaction.HeuristicMixedException, javax.transaction.RollbackException- Throws:
javax.transaction.HeuristicRollbackException
javax.transaction.HeuristicMixedException
javax.transaction.RollbackException
-