Class BTSchedulingLockAcquire
java.lang.Object
overit.geocall.bl.BusinessTask<SchedulingLockAcquireEvent>
overit.geocallapp.wfm.orchestrator.scheduling.bl.lock.task.BTSchedulingLockAcquire
- All Implemented Interfaces:
Serializable,Tool
@Event(SchedulingLockAcquireEvent.class)
public class BTSchedulingLockAcquire
extends BusinessTask<SchedulingLockAcquireEvent>
Acquires the lock for the resources, activities, and operation center.
This task attempts to acquire a lock for the specified resources, activities, scheduling model
and operation center using the provided lock service. If the lock is successfully acquired,
it ensures that no other processes can access these resources concurrently.
- Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(SchedulingLockAcquireEvent schedulingLockAcquireEvent, 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
-
BTSchedulingLockAcquire
public BTSchedulingLockAcquire()
-
-
Method Details
-
body
protected void body(SchedulingLockAcquireEvent schedulingLockAcquireEvent, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<SchedulingLockAcquireEvent>- Parameters:
schedulingLockAcquireEvent- 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
-