Class BTPrepopulateOssCacheScheduling
java.lang.Object
overit.geocall.bl.BusinessTask<SchedulePreProcessManualPasteEvent>
overit.geocallapp.wfm.core.bl.schedule.task.BTPrepopulateOssCache<SchedulePreProcessManualPasteEvent>
overit.geocallapp.wfm.core.bl.schedule.task.BTPrepopulateOssCacheScheduling
- All Implemented Interfaces:
Serializable,Tool
@Event(value=SchedulePreProcessManualPasteEvent.class,
priority=100)
public class BTPrepopulateOssCacheScheduling
extends BTPrepopulateOssCache<SchedulePreProcessManualPasteEvent>
Business task for prepopulate the Oss Cache.
The scheduling task will find the oss results into the cache instead calling gisware for each activity to schedule
The scheduling task will find the oss results into the cache instead calling gisware for each activity to schedule
- Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(SchedulePreProcessManualPasteEvent schedulePreProcessManualPasteEvent, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected List<overit.geocallapp.wfm.scheduler.oss.OssPoint[]> buildOssPointList(org.locationtech.jts.geom.Coordinate[] pointList, overit.geocallapp.wfm.scheduler.oss.OssParams param, List<overit.geocallapp.wfm.scheduler.oss.OssParams> ossParams) Methods inherited from class overit.geocallapp.wfm.core.bl.schedule.task.BTPrepopulateOssCache
calculateMultiplePointsRoadAndTimeDistance, getOssSpace, getResource, processRoute, storeOssResultsMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPrepopulateOssCacheScheduling
public BTPrepopulateOssCacheScheduling()
-
-
Method Details
-
body
protected void body(SchedulePreProcessManualPasteEvent schedulePreProcessManualPasteEvent, PoolKit poolKit) 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<SchedulePreProcessManualPasteEvent>- Parameters:
schedulePreProcessManualPasteEvent- the object upon which the task will works onpoolKit- 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
-
buildOssPointList
protected List<overit.geocallapp.wfm.scheduler.oss.OssPoint[]> buildOssPointList(org.locationtech.jts.geom.Coordinate[] pointList, overit.geocallapp.wfm.scheduler.oss.OssParams param, List<overit.geocallapp.wfm.scheduler.oss.OssParams> ossParams) - Specified by:
buildOssPointListin classBTPrepopulateOssCache<SchedulePreProcessManualPasteEvent>
-