Class HadoopCompatibleTaskScheduler
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.schedulers.AbstractTaskScheduler
-
- fr.ens.biologie.genomique.eoulsan.core.schedulers.HadoopCompatibleTaskScheduler
-
- All Implemented Interfaces:
TaskScheduler
public class HadoopCompatibleTaskScheduler extends AbstractTaskScheduler
This class is a scheduler for tasks from step with the @HadoopComptible annotation in Hadoop mode.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHadoopCompatibleTaskScheduler.HadoopCompatibleMapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstop()Stop the scheduler.voidsubmit(Step step, TaskContextImpl context)Submit a context to execute.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.core.schedulers.AbstractTaskScheduler
afterExecuteTask, beforeExecuteTask, executeTask, getResult, getStatus, getStep, getStep, getTaskDoneCount, getTaskRunningCount, getTaskSubmittedCount, getTotalTaskDoneCount, getTotalTaskRunningCount, getTotalTaskSubmittedCount, isStarted, isStopped, start, submit, waitEndOfTasks
-
-
-
-
Method Detail
-
submit
public void submit(Step step, TaskContextImpl context)
Description copied from interface:TaskSchedulerSubmit a context to execute.- Specified by:
submitin interfaceTaskScheduler- Overrides:
submitin classAbstractTaskScheduler- Parameters:
step- step related to the contextcontext- context to execute
-
stop
public void stop()
Description copied from interface:TaskSchedulerStop the scheduler.- Specified by:
stopin interfaceTaskScheduler- Overrides:
stopin classAbstractTaskScheduler
-
-