Class ClusterJobEmergencyStopTask
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.schedulers.clusters.ClusterJobEmergencyStopTask
- All Implemented Interfaces:
EmergencyStopTask
This class define an EmergencyStopTask for cluster Jobs.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Constructor Summary
ConstructorsConstructorDescriptionClusterJobEmergencyStopTask(ClusterTaskScheduler scheduler, String jobId) Public constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHadoopJobEmergencyStopTask(ClusterTaskScheduler scheduler, String jobId) Add a cluster Job to the EmergencyStopTasks.booleaninthashCode()static voidremoveHadoopJobEmergencyStopTask(ClusterTaskScheduler scheduler, String jobId) Remove a cluster Job to the EmergencyStopTasks.voidstop()Execute the stop task.
-
Constructor Details
-
ClusterJobEmergencyStopTask
Public constructor.- Parameters:
scheduler- the cluster schedulerjobId- the job id
-
-
Method Details
-
stop
public void stop()Description copied from interface:EmergencyStopTaskExecute the stop task.- Specified by:
stopin interfaceEmergencyStopTask
-
hashCode
public int hashCode() -
equals
-
addHadoopJobEmergencyStopTask
Add a cluster Job to the EmergencyStopTasks.- Parameters:
scheduler- the cluster schedulerjobId- the job id
-
removeHadoopJobEmergencyStopTask
Remove a cluster Job to the EmergencyStopTasks.- Parameters:
scheduler- the cluster schedulerjobId- the job id
-