public final class EndTransactionMessageTypeV1_1 extends EndTransactionMessageType
This message has the following fields :
| Zone | Format | Length | Description |
|---|---|---|---|
| COMMIT | INTEGER | 1 | 1 if the transaction is to be committed, 0 if it is to be rolled back. |
| TRANSACTIONID | INTEGER | 8 | The server-side ID of the transaction to be ended. |
MESSAGETYPEID| Modifier and Type | Method and Description |
|---|---|
EndTransactionMessage |
message(boolean commit,
long transactionID)
Creates an EndTransaction message corresponding to the version of this message type, holding the given commit flag and transaction ID.
|
messagepublic EndTransactionMessage message(boolean commit, long transactionID)
EndTransactionMessageTypemessage in class EndTransactionMessageTypecommit - true if the transaction to be ended must be committed, false if it is to be rolled back.transactionID - The server-side ID of the transaction to be ended. Negative values indicate the "current" transaction, i.e. the lowest transaction in the current nested transaction structure.