Package com.sleepycat.db
Class PreparedTransaction
java.lang.Object
com.sleepycat.db.PreparedTransaction
The PreparedTransaction object is used to encapsulate a single prepared,
but not yet resolved, transaction.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getGID()Return the global transaction ID for the transaction.Return the transaction handle for the transaction.
-
Method Details
-
getGID
public byte[] getGID()Return the global transaction ID for the transaction. The global transaction ID is the one specified when the transaction was prepared. The application is responsible for ensuring uniqueness among global transaction IDs.- Returns:
- The global transaction ID for the transaction.
-
getTransaction
Return the transaction handle for the transaction.- Returns:
- The transaction handle for the transaction.
-