Class ConditionalMarkAsRollbackFunction
java.lang.Object
org.infinispan.server.hotrod.tx.table.functions.TxFunction
org.infinispan.server.hotrod.tx.table.functions.ConditionalMarkAsRollbackFunction
- All Implemented Interfaces:
Function<EntryView.ReadWriteEntryView<CacheXid,
,TxState>, Byte> org.infinispan.commands.functional.functions.InjectableComponent
It updates the
TxState
's status to Status.MARK_ROLLBACK
if the current status is the expected.
It returns Status.ERROR
if it fails to update the status and Status.NO_TRANSACTION
if the TxState
isn't found.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AdvancedExternalizer
<ConditionalMarkAsRollbackFunction> 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