Class JournalTransaction

java.lang.Object
org.apache.activemq.command.JournalTransaction
All Implemented Interfaces:
DataStructure

public class JournalTransaction extends Object implements DataStructure
  • Field Details

  • Constructor Details

    • JournalTransaction

      public JournalTransaction(byte type, TransactionId transactionId, boolean wasPrepared)
    • JournalTransaction

      public JournalTransaction()
  • Method Details

    • getDataStructureType

      public byte getDataStructureType()
      Specified by:
      getDataStructureType in interface DataStructure
      Returns:
      The type of the data structure
    • getTransactionId

      public TransactionId getTransactionId()
    • setTransactionId

      public void setTransactionId(TransactionId transactionId)
    • getType

      public byte getType()
    • setType

      public void setType(byte type)
    • getWasPrepared

      public boolean getWasPrepared()
    • setWasPrepared

      public void setWasPrepared(boolean wasPrepared)
    • isMarshallAware

      public boolean isMarshallAware()
      Specified by:
      isMarshallAware in interface DataStructure
    • toString

      public String toString()
      Overrides:
      toString in class Object