Class TaskSchedulerFactory
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.schedulers.TaskSchedulerFactory
This class define a factory for TaskScheduler that can create only one instance. This class avoid
the serialization of the task scheduler classes when serialize TaskContext object.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskSchedulerGet the schedulerstatic voidInitialize the scheduler.
-
Method Details
-
initialize
Initialize the scheduler.- Throws:
EoulsanException- if an error occurs while configuring the scheduler
-
getScheduler
Get the scheduler- Returns:
- the TaskScheduler object
-