public class ConnectionContext extends Object
| 构造器和说明 |
|---|
ConnectionContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buildLockKeys()
Build lock keys string.
|
Long |
getBranchId()
Gets branch id.
|
List<SQLUndoLog> |
getUndoItems()
Gets undo items.
|
String |
getXid()
Gets xid.
|
boolean |
hasUndoLog()
Has undo log boolean.
|
boolean |
inGlobalTransaction()
In global transaction boolean.
|
boolean |
isBranchRegistered()
Is branch registered boolean.
|
void |
reset()
Reset.
|
String |
toString() |
public boolean inGlobalTransaction()
public boolean isBranchRegistered()
public boolean hasUndoLog()
public String getXid()
public Long getBranchId()
public void reset()
public String buildLockKeys()
public List<SQLUndoLog> getUndoItems()
Copyright © 2019 Seata. All rights reserved.