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

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