Class PreparingDecisionFunction
java.lang.Object
org.infinispan.server.hotrod.tx.table.functions.TxFunction
org.infinispan.server.hotrod.tx.table.functions.PreparingDecisionFunction
- All Implemented Interfaces:
Function<EntryView.ReadWriteEntryView<CacheXid,
,TxState>, Byte> org.infinispan.commands.functional.functions.InjectableComponent
It changes the
TxState
status to Status.PREPARING
and stores the transaction modifications.
It returns Status.NO_TRANSACTION
if the TxState
isn't found and the TxState.getStatus()
if
the current status isn't Status.ACTIVE
or Status.PREPARING
.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
timeService
-
Constructor Summary
ConstructorDescriptionPreparingDecisionFunction
(List<org.infinispan.commands.write.WriteCommand> modifications) -
Method Summary
Methods inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
inject