public class ScheduledJobStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>datasource| Constructor and Description |
|---|
ScheduledJobStore(javax.sql.DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
JobExecution |
createExecution(JobExecution je) |
void |
delete(java.util.List<java.lang.Integer> ids) |
void |
ensureDefaultPlan(java.lang.String domainUid,
java.lang.String jid) |
java.util.Set<LogEntry> |
fetchLogEntries(SecurityContext context,
int execId) |
ListResult<JobExecution> |
findExecutions(JobExecutionQuery jeq) |
Job |
getJobFromId(java.lang.String jobId) |
void |
loadStatusesAndPlans(SecurityContext context,
JobQuery jq,
java.util.Collection<Job> ret) |
void |
storeLogEntries(int jobExececutionId,
java.util.Set<LogEntry> entries) |
void |
updateExecution(JobExecution je) |
void |
updateJob(Job job) |
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, updatepublic void updateExecution(JobExecution je) throws ServerFault
ServerFaultpublic JobExecution createExecution(JobExecution je) throws ServerFault
ServerFaultpublic void delete(java.util.List<java.lang.Integer> ids)
throws ServerFault
je - ServerFaultpublic Job getJobFromId(java.lang.String jobId) throws java.sql.SQLException
jobId - java.sql.SQLExceptionpublic void ensureDefaultPlan(java.lang.String domainUid,
java.lang.String jid)
d - jid - public ListResult<JobExecution> findExecutions(JobExecutionQuery jeq) throws ServerFault
jeq - ServerFaultpublic void loadStatusesAndPlans(SecurityContext context, JobQuery jq, java.util.Collection<Job> ret)
context - jq - ret - public void storeLogEntries(int jobExececutionId,
java.util.Set<LogEntry> entries)
throws ServerFault
je - entries - ServerFaultpublic java.util.Set<LogEntry> fetchLogEntries(SecurityContext context, int execId)
context - execId - public void updateJob(Job job) throws ServerFault
job - ServerFaultCopyright © 2022. All Rights Reserved.