Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.statetransfer
Class TransactionInfo

java.lang.Object
  extended by org.infinispan.statetransfer.TransactionInfo

public class TransactionInfo
extends 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
static class TransactionInfo.Externalizer
           
 
Constructor Summary
TransactionInfo(GlobalTransaction globalTransaction, int topologyId, WriteCommand[] modifications, Set<Object> lockedKeys)
           
 
Method Summary
 GlobalTransaction getGlobalTransaction()
           
 Set<Object> getLockedKeys()
           
 WriteCommand[] getModifications()
           
 int getTopologyId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionInfo

public TransactionInfo(GlobalTransaction globalTransaction,
                       int topologyId,
                       WriteCommand[] modifications,
                       Set<Object> lockedKeys)
Method Detail

getGlobalTransaction

public GlobalTransaction getGlobalTransaction()

getModifications

public WriteCommand[] getModifications()

getLockedKeys

public Set<Object> getLockedKeys()

getTopologyId

public int getTopologyId()

toString

public String toString()
Overrides:
toString in class Object

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.