public abstract class AbstractBranchEndRequest extends AbstractTransactionRequestToRM
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
applicationData
The Application data.
|
protected long |
branchId
The Branch id.
|
protected BranchType |
branchType
The Branch type.
|
protected String |
resourceId
The Resource id.
|
protected String |
xid
The Xid.
|
byteBuffer, handlerctx, 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| 构造器和说明 |
|---|
AbstractBranchEndRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(io.netty.buffer.ByteBuf in)
Decode boolean.
|
byte[] |
encode()
Encode byte [ ].
|
String |
getApplicationData()
Gets application data.
|
long |
getBranchId()
Gets branch id.
|
BranchType |
getBranchType()
Gets branch type.
|
String |
getResourceId()
Gets resource id.
|
String |
getXid()
Gets xid.
|
void |
setApplicationData(String applicationData)
Sets application data.
|
void |
setBranchId(long branchId)
Sets branch id.
|
void |
setBranchType(BranchType branchType)
Sets branch type.
|
void |
setResourceId(String resourceId)
Sets resource id.
|
void |
setXid(String xid)
Sets xid.
|
String |
toString() |
setRMInboundMessageHandlerhandlebytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCodeprotected String xid
protected long branchId
protected BranchType branchType
protected String resourceId
protected String applicationData
public String getXid()
public void setXid(String xid)
xid - the xidpublic long getBranchId()
public void setBranchId(long branchId)
branchId - the branch idpublic BranchType getBranchType()
public void setBranchType(BranchType branchType)
branchType - the branch typepublic String getResourceId()
public void setResourceId(String resourceId)
resourceId - the resource idpublic String getApplicationData()
public void setApplicationData(String applicationData)
applicationData - the application datapublic byte[] encode()
MessageCodecpublic boolean decode(io.netty.buffer.ByteBuf in)
MessageCodecdecode 在接口中 MessageCodecdecode 在类中 AbstractMessagein - the inCopyright © 2019 Seata. All rights reserved.