java.lang.Object
org.infinispan.server.hotrod.tx.table.functions.TxFunction
All Implemented Interfaces:
Function<EntryView.ReadWriteEntryView<CacheXid,TxState>,Byte>, org.infinispan.commands.functional.functions.InjectableComponent
Direct Known Subclasses:
ConditionalMarkAsRollbackFunction, CreateStateFunction, PreparingDecisionFunction, SetCompletedTransactionFunction, SetDecisionFunction, SetPreparedFunction

public abstract class TxFunction extends Object implements Function<EntryView.ReadWriteEntryView<CacheXid,TxState>,Byte>, org.infinispan.commands.functional.functions.InjectableComponent
A base Function implementation to update the TxState stored in Cache.

It injects the TimeService to use.

Since:
9.4
Author:
Pedro Ruivo
  • Field Details

  • Constructor Details

    • TxFunction

      public TxFunction()
  • Method Details

    • inject

      public void inject(ComponentRegistry registry)
      Specified by:
      inject in interface org.infinispan.commands.functional.functions.InjectableComponent