Class TxFunction
- 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 baseFunction
implementation to update theTxState
stored inCache
.It injects the
TimeService
to use.- Since:
- 9.4
- Author:
- Pedro Ruivo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.infinispan.commons.time.TimeService
timeService
-
Constructor Summary
Constructors Constructor Description TxFunction()
-
-
-
Method Detail
-
inject
public void inject(ComponentRegistry registry)
- Specified by:
inject
in interfaceorg.infinispan.commands.functional.functions.InjectableComponent
-
-