public class ScheduledJobStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, 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 domainName,
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, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, update
public void updateExecution(JobExecution je) throws ServerFault
ServerFault
public JobExecution createExecution(JobExecution je) throws ServerFault
ServerFault
public void delete(java.util.List<java.lang.Integer> ids) throws ServerFault
je
- ServerFault
public Job getJobFromId(java.lang.String jobId) throws java.sql.SQLException
jobId
- java.sql.SQLException
public void ensureDefaultPlan(java.lang.String domainName, java.lang.String jid)
d
- jid
- public ListResult<JobExecution> findExecutions(JobExecutionQuery jeq) throws ServerFault
jeq
- ServerFault
public 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
- ServerFault
public java.util.Set<LogEntry> fetchLogEntries(SecurityContext context, int execId)
context
- execId
- public void updateJob(Job job) throws ServerFault
job
- ServerFault
Copyright © 2021. All Rights Reserved.