Package org.infinispan.statetransfer
Class TransactionInfo
- java.lang.Object
-
- org.infinispan.statetransfer.TransactionInfo
-
public class TransactionInfo extends java.lang.ObjectA 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 classTransactionInfo.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 GlobalTransactiongetGlobalTransaction()java.util.Set<java.lang.Object>getLockedKeys()org.infinispan.commands.write.WriteCommand[]getModifications()intgetTopologyId()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-