Class CreateStateFunction
java.lang.Object
org.infinispan.server.hotrod.tx.table.functions.TxFunction
org.infinispan.server.hotrod.tx.table.functions.CreateStateFunction
- All Implemented Interfaces:
Function<EntryView.ReadWriteEntryView<CacheXid,,TxState>, Byte> org.infinispan.commands.functional.functions.InjectableComponent
It creates a new
TxState.
It returns Status.ERROR if the TxState already exists.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Field Summary
FieldsFields inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
timeService -
Constructor Summary
ConstructorsConstructorDescriptionCreateStateFunction(GlobalTransaction globalTransaction, boolean recoverable, long timeout) -
Method Summary
Methods inherited from class org.infinispan.server.hotrod.tx.table.functions.TxFunction
inject