Class SetDecisionFunction
java.lang.Object
org.infinispan.server.hotrod.tx.table.functions.TxFunction
org.infinispan.server.hotrod.tx.table.functions.SetDecisionFunction
- All Implemented Interfaces:
Function<EntryView.ReadWriteEntryView<CacheXid,
,TxState>, Byte> org.infinispan.commands.functional.functions.InjectableComponent
It sets the transaction decision in
TxState
.
The decision can be Status.MARK_ROLLBACK
or Status.MARK_COMMIT
and the TxState
status must be
valid. If not, it returns the current TxState
status.
If the TxState
doesn't exists, it returns Status.NO_TRANSACTION
.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
timeService
-
Constructor Summary
-
Method Summary
Methods inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
inject