Class SchedularWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.infrastructure.jobs.service.SchedularWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
SchedularWritePlatformService
@Service
public class SchedularWritePlatformServiceJpaRepositoryImpl
extends Object
implements SchedularWritePlatformService
-
Constructor Summary
ConstructorsConstructorDescriptionSchedularWritePlatformServiceJpaRepositoryImpl(ScheduledJobDetailRepository scheduledJobDetailsRepository, ScheduledJobRunHistoryRepository scheduledJobRunHistoryRepository, JobDetailDataValidator dataValidator, SchedulerDetailRepository schedulerDetailRepository) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfetchMaxVersionBy(String jobKey) findByJobId(Long jobId) findByJobKey(String jobKey) booleanprocessJobDetailForExecution(String jobKey, String triggerType) retrieveAllJobs(String nodeId) voidsaveOrUpdate(ScheduledJobDetail scheduledJobDetails) voidsaveOrUpdate(ScheduledJobDetail scheduledJobDetails, ScheduledJobRunHistory scheduledJobRunHistory) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateJobDetail(Long jobId, org.apache.fineract.infrastructure.core.api.JsonCommand command) voidupdateSchedulerDetail(SchedulerDetail schedulerDetail)
-
Constructor Details
-
SchedularWritePlatformServiceJpaRepositoryImpl
@Autowired public SchedularWritePlatformServiceJpaRepositoryImpl(ScheduledJobDetailRepository scheduledJobDetailsRepository, ScheduledJobRunHistoryRepository scheduledJobRunHistoryRepository, JobDetailDataValidator dataValidator, SchedulerDetailRepository schedulerDetailRepository)
-
-
Method Details
-
retrieveAllJobs
- Specified by:
retrieveAllJobsin interfaceSchedularWritePlatformService
-
findByJobKey
- Specified by:
findByJobKeyin interfaceSchedularWritePlatformService
-
saveOrUpdate
- Specified by:
saveOrUpdatein interfaceSchedularWritePlatformService
-
saveOrUpdate
@Transactional public void saveOrUpdate(ScheduledJobDetail scheduledJobDetails, ScheduledJobRunHistory scheduledJobRunHistory) - Specified by:
saveOrUpdatein interfaceSchedularWritePlatformService
-
fetchMaxVersionBy
- Specified by:
fetchMaxVersionByin interfaceSchedularWritePlatformService
-
findByJobId
- Specified by:
findByJobIdin interfaceSchedularWritePlatformService
-
updateSchedulerDetail
- Specified by:
updateSchedulerDetailin interfaceSchedularWritePlatformService
-
retriveSchedulerDetail
- Specified by:
retriveSchedulerDetailin interfaceSchedularWritePlatformService
-
updateJobDetail
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateJobDetail(Long jobId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateJobDetailin interfaceSchedularWritePlatformService
-
processJobDetailForExecution
@Transactional @Retry(name="processJobDetailForExecution", fallbackMethod="fallbackProcessJobDetailForExecution") public boolean processJobDetailForExecution(String jobKey, String triggerType) - Specified by:
processJobDetailForExecutionin interfaceSchedularWritePlatformService
-
fallbackProcessJobDetailForExecution
-