public abstract class AbstractBranchEndResponse extends AbstractTransactionResponse
| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
branchId
The Branch id.
|
protected BranchStatus |
branchStatus
The Branch status.
|
protected String |
xid
The Xid.
|
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| 构造器和说明 |
|---|
AbstractBranchEndResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(io.netty.buffer.ByteBuf in)
Decode boolean.
|
void |
decode(ByteBuffer byteBuffer)
Decode.
|
protected void |
doEncode()
Do encode.
|
long |
getBranchId()
Gets branch id.
|
BranchStatus |
getBranchStatus()
Gets branch status.
|
String |
getXid()
Gets xid.
|
void |
setBranchId(long branchId)
Sets branch id.
|
void |
setBranchStatus(BranchStatus branchStatus)
Sets branch status.
|
void |
setXid(String xid)
Sets xid.
|
String |
toString() |
getTransactionExceptionCode, setTransactionExceptionCodeencode, getMsg, getResultCode, setMsg, setResultCodebytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCodeprotected String xid
protected long branchId
protected BranchStatus branchStatus
public String getXid()
public void setXid(String xid)
xid - the xidpublic long getBranchId()
public void setBranchId(long branchId)
branchId - the branch idpublic BranchStatus getBranchStatus()
public void setBranchStatus(BranchStatus branchStatus)
branchStatus - the branch statusprotected void doEncode()
AbstractResultMessagedoEncode 在类中 AbstractTransactionResponsepublic void decode(ByteBuffer byteBuffer)
MergedMessagedecode 在接口中 MergedMessagedecode 在类中 AbstractTransactionResponsebyteBuffer - the byte bufferpublic boolean decode(io.netty.buffer.ByteBuf in)
MessageCodecdecode 在接口中 MessageCodecdecode 在类中 AbstractTransactionResponsein - the inCopyright © 2019 Seata. All rights reserved.