Class TxState
java.lang.Object
org.infinispan.server.hotrod.tx.table.TxState
A transaction state stored globally in all the cluster members.
- Since:
- 9.4
- Author:
- Pedro Ruivo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTxState
(GlobalTransaction globalTransaction, boolean recoverable, long timeout, TimeService timeService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
List<org.infinispan.commands.write.WriteCommand>
long
int
hashCode()
boolean
hasTimedOut
(long currentTimeNs) boolean
boolean
isSameAs
(GlobalTransaction globalTransaction, boolean recoverable, long timeout) markPreparing
(List<org.infinispan.commands.write.WriteCommand> modifications, TimeService timeService) setStatus
(Status newStatus, boolean cleanupModification, TimeService timeService) toString()
-
Field Details
-
EXTERNALIZER
-
-
Constructor Details
-
TxState
public TxState(GlobalTransaction globalTransaction, boolean recoverable, long timeout, TimeService timeService)
-
-
Method Details
-
getTimeout
public long getTimeout() -
markPreparing
public TxState markPreparing(List<org.infinispan.commands.write.WriteCommand> modifications, TimeService timeService) -
getOriginator
-
setStatus
-
getStatus
-
getGlobalTransaction
-
getModifications
-
equals
-
hashCode
public int hashCode() -
hasTimedOut
public boolean hasTimedOut(long currentTimeNs) -
isRecoverable
public boolean isRecoverable() -
isSameAs
-
toString
-