@Transactional(value="globalTransaction",
rollbackFor=java.lang.Exception.class,
propagation=REQUIRES_NEW)
public class GlobalTransactionProcessServiceImpl
extends Object
implements GlobalTransactionProcessService
| 构造器和说明 |
|---|
GlobalTransactionProcessServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
TGlobalTransactionProcess |
create(TGlobalTransactionProcess gp) |
void |
update(Integer globalTransactionProcessId,
String responseJson,
TGlobalTransactionProcessStatus status) |
void |
updateExpectedStatus(Integer processId,
TGlobalTransactionProcessExpectedStatus status)
更新事务过程期望状态
|
void |
updateRedoTimes(Integer processId)
更新事务过程的重试次数和下次重试时间
|
public TGlobalTransactionProcess create(TGlobalTransactionProcess gp) throws com.github.dapeng.core.SoaException
create 在接口中 GlobalTransactionProcessServicecom.github.dapeng.core.SoaExceptionpublic void update(Integer globalTransactionProcessId, String responseJson, TGlobalTransactionProcessStatus status) throws com.github.dapeng.core.SoaException
update 在接口中 GlobalTransactionProcessServicecom.github.dapeng.core.SoaExceptionpublic void updateExpectedStatus(Integer processId, TGlobalTransactionProcessExpectedStatus status) throws com.github.dapeng.core.SoaException
updateExpectedStatus 在接口中 GlobalTransactionProcessServiceprocessId - status - com.github.dapeng.core.SoaExceptionpublic void updateRedoTimes(Integer processId) throws com.github.dapeng.core.SoaException
updateRedoTimes 在接口中 GlobalTransactionProcessServiceprocessId - com.github.dapeng.core.SoaExceptionCopyright © 2020. All rights reserved.