Class JobDispatcher.JobDispatcherRunner
java.lang.Object
org.opencastproject.serviceregistry.impl.JobDispatcher.JobDispatcherRunner
- All Implemented Interfaces:
Runnable
- Enclosing class:
JobDispatcher
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobDispatcherRunner
public JobDispatcherRunner()
-
-
Method Details
-
run
public void run() -
getDispatchableJobsWithIdFilterQuery
protected Function<javax.persistence.EntityManager,List<Long>> getDispatchableJobsWithIdFilterQuery(Set<Long> jobIds) Return dispatchable job ids, where the job status is RESTART or QUEUED and the job id is listed in the given set.- Parameters:
jobIds- set with job id's interested in- Returns:
- list with dispatchable job id's from the given set, with job status RESTART or QUEUED
-