Class SequencingObjectProcessingService
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.service.SequencingObjectProcessingService
-
@Service @Scope("singleton") public class SequencingObjectProcessingService extends java.lang.Object
Service used to run aFileProcessingChain
on incomingSequencingObject
s.
-
-
Constructor Summary
Constructors Constructor Description SequencingObjectProcessingService(SequencingObjectRepository sequencingObjectRepository, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor, FileProcessingChain fileProcessingChain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
findFilesToProcess()
Find newSequencingObject
s to process and mark that this process is going to handle themvoid
processFiles()
ProcessSequencingObject
s that have been locked for processingvoid
runProcessingJob()
Process newSequencingObject
s uploaded and find new sequences to process next time around
-
-
-
Constructor Detail
-
SequencingObjectProcessingService
@Autowired public SequencingObjectProcessingService(SequencingObjectRepository sequencingObjectRepository, @Qualifier("fileProcessingChainExecutor") org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor, @Qualifier("uploadFileProcessingChain") FileProcessingChain fileProcessingChain)
-
-
Method Detail
-
runProcessingJob
public void runProcessingJob()
Process newSequencingObject
s uploaded and find new sequences to process next time around
-
findFilesToProcess
public void findFilesToProcess()
Find newSequencingObject
s to process and mark that this process is going to handle them
-
processFiles
public void processFiles()
ProcessSequencingObject
s that have been locked for processing
-
-