| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_RM
The constant ROLE_RM.
|
static String |
ROLE_TC
The constant ROLE_TC.
|
static String |
ROLE_TM
The constant ROLE_TM.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 static final String ROLE_TC
public static final String ROLE_TM
public static final String ROLE_RM
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 © 2023 Seata. All rights reserved.