org.activemq.store.journal
Class TxCommand

java.lang.Object
  extended by org.activemq.store.journal.TxCommand

public class TxCommand
extends Object


Field Summary
static byte LOCAL_COMMIT
           
static byte LOCAL_ROLLBACK
           
 Object transactionId
           
 byte type
           
 boolean wasPrepared
           
static byte XA_COMMIT
           
static byte XA_PREPARE
           
static byte XA_ROLLBACK
           
 
Constructor Summary
TxCommand()
           
TxCommand(byte type, Object transactionId, boolean wasPrepared)
           
 
Method Summary
 Object getTransactionId()
           
 byte getType()
           
 boolean getWasPrepared()
           
 void setTransactionId(Object transactionId)
           
 void setType(byte type)
           
 void setWasPrepared(boolean wasPrepared)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Object transactionId
Constructor Detail

TxCommand

public TxCommand(byte type,
                 Object transactionId,
                 boolean wasPrepared)

TxCommand

public TxCommand()
Method Detail

getTransactionId

public Object getTransactionId()

setTransactionId

public void setTransactionId(Object transactionId)

getType

public byte getType()

setType

public void setType(byte type)

getWasPrepared

public boolean getWasPrepared()

setWasPrepared

public void setWasPrepared(boolean wasPrepared)


Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.