| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ROLE_RM
The constant ROLE_RM.
|
static String |
ROLE_TC
The constant ROLE_TC.
|
static String |
ROLE_TM
The constant ROLE_TM.
|
| 构造器和说明 |
|---|
GlobalTransactionEvent(long id,
String role,
String name,
String applicationId,
String group,
Long beginTime,
Long endTime,
String status,
boolean retryGlobal,
boolean retryBranch)
Instantiates a new Global transaction event.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getApplicationId()
Gets application id.
|
Long |
getBeginTime()
Gets begin time.
|
Long |
getEndTime()
Gets end time.
|
String |
getGroup()
Gets group.
|
long |
getId()
Gets id.
|
String |
getName()
Gets name.
|
String |
getRole()
Gets role.
|
String |
getStatus()
Gets status.
|
boolean |
isRetryBranch()
Is retry branch boolean.
|
boolean |
isRetryGlobal()
Is retry boolean.
|
String |
toString() |
public GlobalTransactionEvent(long id,
String role,
String name,
String applicationId,
String group,
Long beginTime,
Long endTime,
String status,
boolean retryGlobal,
boolean retryBranch)
id - the idrole - the rolename - the nameapplicationId - the application idgroup - the groupbeginTime - the begin timeendTime - the end timestatus - the statusretryGlobal - the retry(1. delay delete global session 2. asyn retry branch session)retryBranch - retry branch sessionpublic long getId()
public String getRole()
public String getName()
public String getApplicationId()
public String getGroup()
public Long getBeginTime()
public Long getEndTime()
public String getStatus()
public boolean isRetryGlobal()
public boolean isRetryBranch()
Copyright © 2022 Seata. All rights reserved.