public abstract class EndTransactionMessageType extends ServerInputMessageType
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGETYPEID
The numeric ID for messages of this type (-523138475 )
|
Modifier and Type | Method and Description |
---|---|
EndTransactionMessage |
message(boolean commit)
Deprecated.
replace with message() invocations including the transaction ID.
|
abstract 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.
|
public static final int MESSAGETYPEID
@Deprecated public final EndTransactionMessage message(boolean commit)
commit
- true if the transaction to be ended must be committed, false if it is to be rolled back.public abstract EndTransactionMessage message(boolean commit, long transactionID)
commit
- 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.