org.apache.activemq.state
Class TransactionState

java.lang.Object
  extended by org.apache.activemq.state.TransactionState

public class TransactionState
extends Object


Constructor Summary
TransactionState(TransactionId id)
           
 
Method Summary
 void addCommand(Command operation)
           
 void addProducerState(ProducerState producerState)
           
 List<Command> getCommands()
           
 TransactionId getId()
           
 int getPreparedResult()
           
 Map<ProducerId,ProducerState> getProducerStates()
           
 boolean isPrepared()
           
 void setPrepared(boolean prepared)
           
 void setPreparedResult(int preparedResult)
           
 void shutdown()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionState

public TransactionState(TransactionId id)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

addCommand

public void addCommand(Command operation)

getCommands

public List<Command> getCommands()

shutdown

public void shutdown()

getId

public TransactionId getId()

setPrepared

public void setPrepared(boolean prepared)

isPrepared

public boolean isPrepared()

setPreparedResult

public void setPreparedResult(int preparedResult)

getPreparedResult

public int getPreparedResult()

addProducerState

public void addProducerState(ProducerState producerState)

getProducerStates

public Map<ProducerId,ProducerState> getProducerStates()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.