public abstract class CommitRollbackMessageType extends ServerInputMessageType
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGETYPEID
The numeric ID for messages of this type (-1070395000 )
|
Modifier and Type | Method and Description |
---|---|
CommitRollbackMessage |
message(boolean commit)
Deprecated.
replace with the factory method that includes the identification of the transaction to commit or roll back
|
abstract CommitRollbackMessage |
message(boolean commit,
long transactionID)
Gets a CommitRollbackMessage holding the request to either commit or roll back the transaction with the given ID
|
public static final int MESSAGETYPEID
@Deprecated public final CommitRollbackMessage message(boolean commit)
commit
- true if a commit is requested, false if a rollback is requestedpublic abstract CommitRollbackMessage message(boolean commit, long transactionID)
commit
- true if a commit is requested, false if a rollback is requestedtransactionID
- The server-side ID of the transaction that requests to be committed or rolled back. Negative values indicate "the current transaction".