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<org.infinispan.functional.EntryView.ReadWriteEntryView<CacheXid,TxState>, Byte>, org.infinispan.commands.functional.functions.InjectableComponent

@ProtoTypeId(6605) public class CreateStateFunction extends TxFunction
It creates a new TxState.

It returns Status.ERROR if the TxState already exists.

Since:
9.4
Author:
Pedro Ruivo
  • Constructor Details

    • CreateStateFunction

      @ProtoFactory public CreateStateFunction(org.infinispan.transaction.xa.GlobalTransaction globalTransaction, boolean recoverable, long timeout)
  • Method Details