public class JournalTransaction extends Object implements DataStructure
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
static byte |
LOCAL_COMMIT |
static byte |
LOCAL_ROLLBACK |
TransactionId |
transactionId |
byte |
type |
boolean |
wasPrepared |
static byte |
XA_COMMIT |
static byte |
XA_PREPARE |
static byte |
XA_ROLLBACK |
Constructor and Description |
---|
JournalTransaction() |
JournalTransaction(byte type,
TransactionId transactionId,
boolean wasPrepared) |
Modifier and Type | Method and Description |
---|---|
byte |
getDataStructureType() |
TransactionId |
getTransactionId() |
byte |
getType() |
boolean |
getWasPrepared() |
boolean |
isMarshallAware() |
void |
setTransactionId(TransactionId transactionId) |
void |
setType(byte type) |
void |
setWasPrepared(boolean wasPrepared) |
String |
toString() |
public static final byte DATA_STRUCTURE_TYPE
public static final byte XA_PREPARE
public static final byte XA_COMMIT
public static final byte XA_ROLLBACK
public static final byte LOCAL_COMMIT
public static final byte LOCAL_ROLLBACK
public byte type
public boolean wasPrepared
public TransactionId transactionId
public JournalTransaction(byte type, TransactionId transactionId, boolean wasPrepared)
public JournalTransaction()
public byte getDataStructureType()
getDataStructureType
in interface DataStructure
public TransactionId getTransactionId()
public void setTransactionId(TransactionId transactionId)
public byte getType()
public void setType(byte type)
public boolean getWasPrepared()
public void setWasPrepared(boolean wasPrepared)
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.