org.apache.activemq.command
Class JournalTransaction
java.lang.Object
org.apache.activemq.command.JournalTransaction
- All Implemented Interfaces:
- DataStructure
public class JournalTransaction
- extends java.lang.Object
- implements DataStructure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
XA_PREPARE
public static final byte XA_PREPARE
- See Also:
- Constant Field Values
XA_COMMIT
public static final byte XA_COMMIT
- See Also:
- Constant Field Values
XA_ROLLBACK
public static final byte XA_ROLLBACK
- See Also:
- Constant Field Values
LOCAL_COMMIT
public static final byte LOCAL_COMMIT
- See Also:
- Constant Field Values
LOCAL_ROLLBACK
public static final byte LOCAL_ROLLBACK
- See Also:
- Constant Field Values
type
public byte type
wasPrepared
public boolean wasPrepared
transactionId
public TransactionId transactionId
JournalTransaction
public JournalTransaction(byte type,
TransactionId transactionId,
boolean wasPrepared)
JournalTransaction
public JournalTransaction()
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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 Apache Software Foundation. All Rights Reserved.