Class FindExpiredJobsCmd
- java.lang.Object
-
- org.flowable.job.service.impl.asyncexecutor.FindExpiredJobsCmd
-
- All Implemented Interfaces:
Command<List<? extends JobInfoEntity>>
public class FindExpiredJobsCmd extends Object implements Command<List<? extends JobInfoEntity>>
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected JobInfoEntityManager<? extends JobInfoEntity>jobEntityManagerprotected JobServiceConfigurationjobServiceConfigurationprotected intpageSize
-
Constructor Summary
Constructors Constructor Description FindExpiredJobsCmd(int pageSize, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends JobInfoEntity>execute(CommandContext commandContext)
-
-
-
Field Detail
-
pageSize
protected int pageSize
-
jobEntityManager
protected JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
FindExpiredJobsCmd
public FindExpiredJobsCmd(int pageSize, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public List<? extends JobInfoEntity> execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<List<? extends JobInfoEntity>>
-
-