public abstract class AbstractGlobalEndResponse extends AbstractTransactionResponse
| 限定符和类型 | 字段和说明 |
|---|---|
protected GlobalStatus |
globalStatus
The Global status.
|
byteBufferctx, TYPE_BRANCH_COMMIT, TYPE_BRANCH_COMMIT_RESULT, TYPE_BRANCH_REGISTER, TYPE_BRANCH_REGISTER_RESULT, TYPE_BRANCH_ROLLBACK, TYPE_BRANCH_ROLLBACK_RESULT, TYPE_BRANCH_STATUS_REPORT, TYPE_BRANCH_STATUS_REPORT_RESULT, TYPE_GLOBAL_BEGIN, TYPE_GLOBAL_BEGIN_RESULT, TYPE_GLOBAL_COMMIT, TYPE_GLOBAL_COMMIT_RESULT, TYPE_GLOBAL_LOCK_QUERY, TYPE_GLOBAL_LOCK_QUERY_RESULT, TYPE_GLOBAL_ROLLBACK, TYPE_GLOBAL_ROLLBACK_RESULT, TYPE_GLOBAL_STATUS, TYPE_GLOBAL_STATUS_RESULT, TYPE_REG_CLT, TYPE_REG_CLT_RESULT, TYPE_REG_RM, TYPE_REG_RM_RESULT, TYPE_SEATA_MERGE, TYPE_SEATA_MERGE_RESULT, UTF8| 构造器和说明 |
|---|
AbstractGlobalEndResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode(ByteBuffer byteBuffer)
Decode.
|
protected void |
doEncode()
Do encode.
|
GlobalStatus |
getGlobalStatus()
Gets global status.
|
void |
setGlobalStatus(GlobalStatus globalStatus)
Sets global status.
|
String |
toString() |
decode, getTransactionExceptionCode, setTransactionExceptionCodeencode, getMsg, getResultCode, setMsg, setResultCodebytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCodeprotected GlobalStatus globalStatus
public GlobalStatus getGlobalStatus()
public void setGlobalStatus(GlobalStatus globalStatus)
globalStatus - the global statusprotected void doEncode()
AbstractResultMessagedoEncode 在类中 AbstractTransactionResponsepublic void decode(ByteBuffer byteBuffer)
MergedMessagedecode 在接口中 MergedMessagedecode 在类中 AbstractTransactionResponsebyteBuffer - the byte bufferCopyright © 2019 Seata. All rights reserved.