public interface SchedulerServiceInternal extends SchedulerService
Modifier and Type | Method and Description |
---|---|
JobHistory |
addJobHistory(JobHistory jobHistory)
Save the details for a particular run of a job in the job history table.
|
void |
addJobResults(java.lang.Double jobHistoryID,
java.util.List jobResults)
This method is invoked after scheduled job run to record the results
for the run.
|
JobHistory |
getJobHistory(long jobHistoryId)
Retrieves the history for a job for the specified jobHistoryId.
|
JobResult |
getJobResult(long jobResultID)
Retrieves a particular job results
|
java.util.List |
getJobResults(java.lang.Double jobHistoryID)
Retrieves the list of jobResults for the specified jobHistoryId
|
java.util.List |
getJobResults(long jobHistoryID,
int lowerBound,
int pazeSize,
boolean ascendingOrder)
This is the paginated search API for the JobResults.
|
JobHistory |
updateJobHistory(JobHistory jobHistory)
Update the details in the job history table for a particular run of the job
|
void |
updateJobWithFailCount(JobDetails job,
int failCount)
Update job with fail count.
|
addJob, createScheduledTask, createScheduledTask, deleteJob, deleteScheduledTask, deleteTrigger, getAllHistoryOfJob, getAllJobDetails, getAllJobs, getHistoryOfJob, getHistoryOfJob, getJobDetail, getJobDetails, getJobParameter, getJobParameter, getJobParameters, getJobs, getJobsOfSchedulerTask, getLastHistoryOfJob, getScheduledTasks, getStatus, getStatusOfJob, getTriggersOfJob, listScheduledTasks, lookupScheduledTask, lookupScheduledTaskbyClass, pauseJob, pauseTrigger, rescheduleJob, resetRunningJobStatus, resumeJob, scheduleJob, scheduleJob, searchJobs, start, stop, stopJob, triggerNow, triggerNow, updateJob, updateScheduledTask, updateScheduledTask
void updateJobWithFailCount(JobDetails job, int failCount) throws SchedulerException, oracle.iam.platform.kernel.StaleDataException
job
- Job VOfailCount
- failcount which needs to be updated here.SchedulerException
oracle.iam.platform.kernel.StaleDataException
JobHistory addJobHistory(JobHistory jobHistory) throws SchedulerException
jobHistory
- JobHistory VOSchedulerException
JobHistory updateJobHistory(JobHistory jobHistory) throws SchedulerException
jobHistory
- JobHistory VO. The id is used for seraching.SchedulerException
JobHistory getJobHistory(long jobHistoryId) throws SchedulerException
SchedulerServiceInternal.getJobResults(Double)
jobHistoryId
- The id of the particular job run in the jobHistory table.SchedulerException
void addJobResults(java.lang.Double jobHistoryID, java.util.List jobResults) throws SchedulerException
jobHistoryID
- The id of the particular job run in the jobHistory table.jobResults
- List of the JobResults.SchedulerException
java.util.List getJobResults(java.lang.Double jobHistoryID) throws SchedulerException
jobHistoryID
- The ID of the job run for which the results are required.SchedulerException
java.util.List getJobResults(long jobHistoryID, int lowerBound, int pazeSize, boolean ascendingOrder) throws SchedulerException
jobHitoryID
- The ID of the job run for which the results are required.lowerBound
- The lower bound of the results to be displayed.pazeSize
- The total no. of records to be displayed.ascendingOrder
- Sorting order, based on ID.SchedulerException
JobResult getJobResult(long jobResultID) throws SchedulerException
jobResultID
- The ID of the jobResult to be displayed.SchedulerException