public class SessionConverter extends Object
| 构造器和说明 |
|---|
SessionConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
static BranchSession |
convertBranchSession(BranchTransactionDO branchTransactionDO) |
static Set<BranchSessionVO> |
convertBranchSession(List<BranchSession> branchSessions)
convert BranchSession to BranchSessionVO
|
static BranchTransactionDO |
convertBranchTransactionDO(SessionStorable session) |
static GlobalSession |
convertGlobalSession(GlobalTransactionDO globalTransactionDO) |
static GlobalSession |
convertGlobalSession(GlobalTransactionDO globalTransactionDO,
boolean lazyLoadBranch) |
static List<GlobalSessionVO> |
convertGlobalSession(List<GlobalSession> filteredSessions)
convert GlobalSession to GlobalSessionVO
|
static GlobalTransactionDO |
convertGlobalTransactionDO(SessionStorable session) |
static Set<BranchSessionVO> |
converToBranchSession(List<BranchSession> branchSessions) |
static void |
convertToGlobalSessionVo(List<GlobalSessionVO> result,
List<GlobalSession> globalSessions) |
public static GlobalSession convertGlobalSession(GlobalTransactionDO globalTransactionDO, boolean lazyLoadBranch)
public static GlobalSession convertGlobalSession(GlobalTransactionDO globalTransactionDO)
public static BranchSession convertBranchSession(BranchTransactionDO branchTransactionDO)
public static GlobalTransactionDO convertGlobalTransactionDO(SessionStorable session)
public static BranchTransactionDO convertBranchTransactionDO(SessionStorable session)
public static void convertToGlobalSessionVo(List<GlobalSessionVO> result, List<GlobalSession> globalSessions)
public static Set<BranchSessionVO> converToBranchSession(List<BranchSession> branchSessions)
public static List<GlobalSessionVO> convertGlobalSession(List<GlobalSession> filteredSessions)
filteredSessions - the GlobalSession listpublic static Set<BranchSessionVO> convertBranchSession(List<BranchSession> branchSessions)
branchSessions - the BranchSession listCopyright © 2022 Seata. All rights reserved.