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
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionReturns the global tx id.Returns a list of keys in the persistent store this transaction refers to.Returns the queue name.int
getType()
Returns the transaction type.
-
Field Details
-
READ_TRANSACTION
static final int READ_TRANSACTION- See Also:
-
WRITE_TRANSACTION
static final int WRITE_TRANSACTION- See Also:
-
-
Method Details
-
getType
int getType()Returns the transaction type.- Returns:
- transaction type.
-
getGlobalTxId
XidImpl getGlobalTxId()Returns the global tx id.- Returns:
- global tx id.
-
getQueueName
String getQueueName()Returns the queue name.- Returns:
- queue name.
-
getKeyList
List getKeyList()Returns a list of keys in the persistent store this transaction refers to.- Returns:
- key list.
-