Package org.infinispan.statetransfer
Class TransactionInfo
- java.lang.Object
-
- org.infinispan.statetransfer.TransactionInfo
-
public class TransactionInfo extends java.lang.Object
A representation of a transaction that is suitable for transferring between a StateProvider and a StateConsumer running on different members of the same cache.- Since:
- 5.2
- Author:
- anistor@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionInfo.Externalizer
-
Constructor Summary
Constructors Constructor Description TransactionInfo(GlobalTransaction globalTransaction, int topologyId, org.infinispan.commands.write.WriteCommand[] modifications, java.util.Set<java.lang.Object> lockedKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalTransaction
getGlobalTransaction()
java.util.Set<java.lang.Object>
getLockedKeys()
org.infinispan.commands.write.WriteCommand[]
getModifications()
int
getTopologyId()
java.lang.String
toString()
-
-
-
Constructor Detail
-
TransactionInfo
public TransactionInfo(GlobalTransaction globalTransaction, int topologyId, org.infinispan.commands.write.WriteCommand[] modifications, java.util.Set<java.lang.Object> lockedKeys)
-
-
Method Detail
-
getGlobalTransaction
public GlobalTransaction getGlobalTransaction()
-
getModifications
public org.infinispan.commands.write.WriteCommand[] getModifications()
-
getLockedKeys
public java.util.Set<java.lang.Object> getLockedKeys()
-
getTopologyId
public int getTopologyId()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-