@Component public class TxcServiceImpl extends Object implements TxcService
| 构造器和说明 |
|---|
TxcServiceImpl(TxcSqlExecutor txcSqlExecutor,
TxcLogHelper txcLogHelper,
ReliableMessenger reliableMessenger,
TCGlobalContext globalContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanTxc(String groupId,
String unitId)
清理TXC事务
|
void |
lockSelect(SelectImageParams selectImageParams,
boolean isxLock)
锁定资源。
|
void |
resolveDeleteImage(DeleteImageParams deleteImageParams)
delete 前置镜像 |
void |
resolveInsertImage(InsertImageParams insertImageParams)
insert 前置镜像 |
void |
resolveUpdateImage(UpdateImageParams updateImageParams)
update 前置镜像 |
void |
undo(String groupId,
String unitId)
撤销某事务单元数据库操作
|
@Autowired public TxcServiceImpl(TxcSqlExecutor txcSqlExecutor, TxcLogHelper txcLogHelper, ReliableMessenger reliableMessenger, TCGlobalContext globalContext)
public void lockSelect(SelectImageParams selectImageParams, boolean isxLock) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServiceselect 被调用lockSelect 在接口中 TxcServiceselectImageParams - selectImageParamsisxLock - isxLockcom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionpublic void resolveUpdateImage(UpdateImageParams updateImageParams) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServiceupdate 前置镜像resolveUpdateImage 在接口中 TxcServiceupdateImageParams - updateImageParamscom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionpublic void resolveDeleteImage(DeleteImageParams deleteImageParams) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServicedelete 前置镜像resolveDeleteImage 在接口中 TxcServicedeleteImageParams - deleteImageParamscom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionpublic void resolveInsertImage(InsertImageParams insertImageParams) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServiceinsert 前置镜像resolveInsertImage 在接口中 TxcServiceinsertImageParams - insertImageParamscom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionpublic void cleanTxc(String groupId, String unitId) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServicecleanTxc 在接口中 TxcServicegroupId - groupIdunitId - unitIdcom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionpublic void undo(String groupId, String unitId) throws com.codingapi.txlcn.common.exception.TxcLogicException
TxcServiceundo 在接口中 TxcServicegroupId - groupIdunitId - unitIdcom.codingapi.txlcn.common.exception.TxcLogicException - TxcLogicExceptionCopyright © 2019. All rights reserved.