Class AbstractClusterTaskScheduler
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.schedulers.AbstractTaskScheduler
fr.ens.biologie.genomique.eoulsan.core.schedulers.clusters.AbstractClusterTaskScheduler
- All Implemented Interfaces:
ClusterTaskScheduler,TaskScheduler
- Direct Known Subclasses:
BpipeTaskScheduler
public abstract class AbstractClusterTaskScheduler
extends AbstractTaskScheduler
implements ClusterTaskScheduler
This class is a scheduler for task running on a cluster.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis class allow to fetch standard output or standard error.Nested classes/interfaces inherited from interface fr.ens.biologie.genomique.eoulsan.core.schedulers.clusters.ClusterTaskScheduler
ClusterTaskScheduler.StatusResult, ClusterTaskScheduler.StatusValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstop()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
getResult, getStatus, getTaskDoneCount, getTaskRunningCount, getTaskSubmittedCount, getTotalTaskDoneCount, getTotalTaskRunningCount, getTotalTaskSubmittedCount, start, submit, waitEndOfTasksMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.ens.biologie.genomique.eoulsan.core.schedulers.clusters.ClusterTaskScheduler
cleanupJob, configure, getSchedulerName, statusJob, stopJob, submitJobMethods inherited from interface fr.ens.biologie.genomique.eoulsan.core.schedulers.TaskScheduler
getResult, getStatus, getTaskDoneCount, getTaskRunningCount, getTaskSubmittedCount, getTotalTaskDoneCount, getTotalTaskRunningCount, getTotalTaskSubmittedCount, start, submit, waitEndOfTasks
-
Constructor Details
-
AbstractClusterTaskScheduler
public AbstractClusterTaskScheduler()
-
-
Method Details
-
submit
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
-