Package overit.geocall.scheduler
Class BTTimedJobsStartup
- All Implemented Interfaces:
Serializable,Tool
@Event(value=StartupEvent.class,
priority=2147483647)
public class BTTimedJobsStartup
extends BusinessTask<StartupEvent>
This task is used to check the correct startup of old jobs engine.
To avoid errors on the startup of the old jobs engine, this task will check if all the jobs are correctly enqueued and if not, it will try to enqueue every minute.
To avoid errors on the startup of the old jobs engine, this task will check if all the jobs are correctly enqueued and if not, it will try to enqueue every minute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(StartupEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTimedJobsStartup
public BTTimedJobsStartup()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<StartupEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-