Package com.swiftmq.swiftlet.store
Interface PrepareLogRecord
-
public interface PrepareLogRecord
A prepare log record, used to prepare 2PC XA transactions.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Field Summary
Fields Modifier and Type Field Description static int
READ_TRANSACTION
static int
WRITE_TRANSACTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XidImpl
getGlobalTxId()
Returns the global tx id.java.util.List
getKeyList()
Returns a list of keys in the persistent store this transaction refers to.java.lang.String
getQueueName()
Returns the queue name.int
getType()
Returns the transaction type.
-
-
-
Field Detail
-
READ_TRANSACTION
static final int READ_TRANSACTION
- See Also:
- Constant Field Values
-
WRITE_TRANSACTION
static final int WRITE_TRANSACTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType()
Returns the transaction type.- Returns:
- transaction type.
-
getGlobalTxId
XidImpl getGlobalTxId()
Returns the global tx id.- Returns:
- global tx id.
-
getQueueName
java.lang.String getQueueName()
Returns the queue name.- Returns:
- queue name.
-
getKeyList
java.util.List getKeyList()
Returns a list of keys in the persistent store this transaction refers to.- Returns:
- key list.
-
-