@HmilySPI(value="mongodb") public class MongodbRepository extends Object implements HmilyRepository
FAIL_ROWS, ROWS| 构造器和说明 |
|---|
MongodbRepository() |
public void init(String appName)
init 在接口中 HmilyRepositorypublic void setSerializer(org.dromara.hmily.serializer.spi.HmilySerializer hmilySerializer)
setSerializer 在接口中 HmilyRepositorypublic int createHmilyTransaction(HmilyTransaction hmilyTransaction)
createHmilyTransaction 在接口中 HmilyRepositorypublic int updateRetryByLock(HmilyTransaction hmilyTransaction)
updateRetryByLock 在接口中 HmilyRepositorypublic HmilyTransaction findByTransId(Long transId)
findByTransId 在接口中 HmilyRepositorypublic List<HmilyTransaction> listLimitByDelay(Date date, int limit)
listLimitByDelay 在接口中 HmilyRepositorypublic int updateHmilyTransactionStatus(Long transId, Integer status) throws HmilyRepositoryException
public int removeHmilyTransaction(Long transId)
removeHmilyTransaction 在接口中 HmilyRepositorypublic int createHmilyParticipant(HmilyParticipant hmilyParticipant) throws HmilyRepositoryException
createHmilyParticipant 在接口中 HmilyRepositoryHmilyRepositoryExceptionpublic List<HmilyParticipant> findHmilyParticipant(Long participantId)
findHmilyParticipant 在接口中 HmilyRepositorypublic List<HmilyParticipant> listHmilyParticipant(Date date, String transType, int limit)
listHmilyParticipant 在接口中 HmilyRepositorypublic List<HmilyParticipant> listHmilyParticipantByTransId(Long transId)
listHmilyParticipantByTransId 在接口中 HmilyRepositorypublic boolean existHmilyParticipantByTransId(Long transId)
public int createHmilyParticipantUndo(HmilyParticipantUndo undo)
createHmilyParticipantUndo 在接口中 HmilyRepositorypublic List<HmilyParticipantUndo> findHmilyParticipantUndoByParticipantId(Long participantId)
public int updateHmilyParticipantUndoStatus(Long undoId, Integer status)
public int removeHmilyTransactionByData(Date date)
removeHmilyTransactionByData 在接口中 HmilyRepositorypublic int removeHmilyParticipantByData(Date date)
removeHmilyParticipantByData 在接口中 HmilyRepositorypublic boolean lockHmilyParticipant(HmilyParticipant hmilyParticipant)
lockHmilyParticipant 在接口中 HmilyRepositorypublic int removeHmilyParticipantUndoByData(Date date)
public int removeHmilyParticipantUndo(Long undoId)
removeHmilyParticipantUndo 在接口中 HmilyRepositorypublic int updateHmilyParticipantStatus(Long participantId, Integer status)
updateHmilyParticipantStatus 在接口中 HmilyRepositorypublic int removeHmilyParticipant(Long participantId)
removeHmilyParticipant 在接口中 HmilyRepositoryCopyright © 2020 dromara. All rights reserved.