- Since:
- 2.1.6
- Version:
- CVS $Id: QuartzDriverDelegate.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Method Summary |
boolean |
calendarExists(Connection conn,
String calendarName)
|
boolean |
calendarIsReferenced(Connection conn,
String calendarName)
|
int |
deleteAllPausedTriggerGroups(Connection conn)
|
int |
deleteBlobTrigger(Connection conn,
String triggerName,
String groupName)
|
int |
deleteCalendar(Connection conn,
String calendarName)
|
int |
deleteCronTrigger(Connection conn,
String triggerName,
String groupName)
|
int |
deleteFiredTrigger(Connection conn,
String entryId)
|
int |
deleteFiredTriggers(Connection conn)
|
int |
deleteFiredTriggers(Connection conn,
String instanceId)
|
int |
deleteJobDetail(Connection conn,
String jobName,
String groupName)
|
int |
deleteJobListeners(Connection conn,
String jobName,
String groupName)
|
int |
deletePausedTriggerGroup(Connection conn,
String groupName)
|
int |
deleteSchedulerState(Connection conn,
String instanceId)
|
int |
deleteSimpleTrigger(Connection conn,
String triggerName,
String groupName)
|
int |
deleteTrigger(Connection conn,
String triggerName,
String groupName)
|
int |
deleteTriggerListeners(Connection conn,
String triggerName,
String groupName)
|
int |
deleteVolatileFiredTriggers(Connection conn)
|
int |
insertBlobTrigger(Connection conn,
org.quartz.Trigger trigger)
|
int |
insertCalendar(Connection conn,
String calendarName,
org.quartz.Calendar calendar)
|
int |
insertCronTrigger(Connection conn,
org.quartz.CronTrigger trigger)
|
int |
insertFiredTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
|
int |
insertJobDetail(Connection conn,
org.quartz.JobDetail job)
|
int |
insertJobListener(Connection conn,
org.quartz.JobDetail job,
String listener)
|
int |
insertPausedTriggerGroup(Connection conn,
String groupName)
|
int |
insertSchedulerState(Connection conn,
String instanceId,
long checkInTime,
long interval,
String recoverer)
|
int |
insertSimpleTrigger(Connection conn,
org.quartz.SimpleTrigger trigger)
|
int |
insertTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
|
int |
insertTriggerListener(Connection conn,
org.quartz.Trigger trigger,
String listener)
|
boolean |
isExistingTriggerGroup(Connection conn,
String groupName)
|
boolean |
isJobStateful(Connection conn,
String jobName,
String groupName)
|
boolean |
isTriggerGroupPaused(Connection conn,
String groupName)
|
boolean |
jobExists(Connection conn,
String jobName,
String groupName)
|
org.quartz.Calendar |
selectCalendar(Connection conn,
String calendarName)
|
String[] |
selectCalendars(Connection conn)
|
List |
selectFiredTriggerRecords(Connection conn,
String triggerName,
String groupName)
|
List |
selectFiredTriggerRecordsByJob(Connection conn,
String jobName,
String groupName)
|
List |
selectInstancesFiredTriggerRecords(Connection conn,
String instanceName)
|
org.quartz.JobDetail |
selectJobDetail(Connection conn,
String jobName,
String groupName,
org.quartz.spi.ClassLoadHelper loadHelper)
|
int |
selectJobExecutionCount(Connection conn,
String jobName,
String jobGroup)
|
org.quartz.JobDetail |
selectJobForTrigger(Connection conn,
String triggerName,
String groupName,
org.quartz.spi.ClassLoadHelper loadHelper)
|
String[] |
selectJobGroups(Connection conn)
|
String[] |
selectJobListeners(Connection conn,
String jobName,
String groupName)
|
String[] |
selectJobsInGroup(Connection conn,
String groupName)
|
org.quartz.utils.Key[] |
selectMisfiredTriggers(Connection conn,
long ts)
|
org.quartz.utils.Key[] |
selectMisfiredTriggersInGroupInState(Connection conn,
String groupName,
String state,
long ts)
|
org.quartz.utils.Key[] |
selectMisfiredTriggersInState(Connection conn,
String state,
long ts)
|
long |
selectNextFireTime(Connection conn)
|
int |
selectNumCalendars(Connection conn)
|
int |
selectNumJobs(Connection conn)
|
int |
selectNumTriggers(Connection conn)
|
int |
selectNumTriggersForJob(Connection conn,
String jobName,
String groupName)
|
Set |
selectPausedTriggerGroups(Connection conn)
|
List |
selectSchedulerStateRecords(Connection conn,
String instanceId)
|
List |
selectStatefulJobsOfTriggerGroup(Connection conn,
String groupName)
|
org.quartz.Trigger |
selectTrigger(Connection conn,
String triggerName,
String groupName)
|
org.quartz.utils.Key |
selectTriggerForFireTime(Connection conn,
long fireTime)
|
String[] |
selectTriggerGroups(Connection conn)
|
org.quartz.JobDataMap |
selectTriggerJobDataMap(Connection conn,
String triggerName,
String groupName)
|
String[] |
selectTriggerListeners(Connection conn,
String triggerName,
String groupName)
|
org.quartz.utils.Key[] |
selectTriggerNamesForJob(Connection conn,
String jobName,
String groupName)
|
org.quartz.Trigger[] |
selectTriggersForCalendar(Connection conn,
String calName)
|
org.quartz.Trigger[] |
selectTriggersForJob(Connection conn,
String jobName,
String groupName)
|
org.quartz.Trigger[] |
selectTriggersForRecoveringJobs(Connection conn)
|
String[] |
selectTriggersInGroup(Connection conn,
String groupName)
|
org.quartz.utils.Key[] |
selectTriggersInState(Connection conn,
String state)
|
String |
selectTriggerState(Connection conn,
String triggerName,
String groupName)
|
org.quartz.utils.TriggerStatus |
selectTriggerStatus(Connection conn,
String triggerName,
String groupName)
|
org.quartz.utils.Key[] |
selectVolatileJobs(Connection conn)
|
org.quartz.utils.Key[] |
selectVolatileTriggers(Connection conn)
|
boolean |
triggerExists(Connection conn,
String triggerName,
String groupName)
|
int |
updateBlobTrigger(Connection conn,
org.quartz.Trigger trigger)
|
int |
updateCalendar(Connection conn,
String calendarName,
org.quartz.Calendar calendar)
|
int |
updateCronTrigger(Connection conn,
org.quartz.CronTrigger trigger)
|
int |
updateJobData(Connection conn,
org.quartz.JobDetail job)
|
int |
updateJobDetail(Connection conn,
org.quartz.JobDetail job)
|
int |
updateSchedulerState(Connection conn,
String instanceId,
long checkInTime,
String recoverer)
|
int |
updateSimpleTrigger(Connection conn,
org.quartz.SimpleTrigger trigger)
|
int |
updateTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
|
int |
updateTriggerGroupStateFromOtherState(Connection conn,
String groupName,
String newState,
String oldState)
|
int |
updateTriggerGroupStateFromOtherStates(Connection conn,
String groupName,
String newState,
String oldState1,
String oldState2,
String oldState3)
|
int |
updateTriggerState(Connection conn,
String triggerName,
String groupName,
String state)
|
int |
updateTriggerStateFromOtherState(Connection conn,
String triggerName,
String groupName,
String newState,
String oldState)
|
int |
updateTriggerStateFromOtherStates(Connection conn,
String triggerName,
String groupName,
String newState,
String oldState1,
String oldState2,
String oldState3)
|
int |
updateTriggerStateFromOtherStatesBeforeTime(Connection conn,
String newState,
String oldState1,
String oldState2,
long time)
|
int |
updateTriggerStatesForJob(Connection conn,
String jobName,
String groupName,
String state)
|
int |
updateTriggerStatesForJobFromOtherState(Connection conn,
String jobName,
String groupName,
String state,
String oldState)
|
int |
updateTriggerStatesFromOtherStates(Connection conn,
String newState,
String oldState1,
String oldState2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuartzDriverDelegate
public QuartzDriverDelegate(Logger logger,
ServiceManager manager,
Context context,
org.quartz.impl.jdbcjobstore.DriverDelegate delegate)
insertJobDetail
public int insertJobDetail(Connection conn,
org.quartz.JobDetail job)
throws IOException,
SQLException
- Specified by:
insertJobDetail
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
IOException
SQLException
updateJobDetail
public int updateJobDetail(Connection conn,
org.quartz.JobDetail job)
throws IOException,
SQLException
- Specified by:
updateJobDetail
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
IOException
SQLException
updateJobData
public int updateJobData(Connection conn,
org.quartz.JobDetail job)
throws IOException,
SQLException
- Specified by:
updateJobData
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
IOException
SQLException
selectJobDetail
public org.quartz.JobDetail selectJobDetail(Connection conn,
String jobName,
String groupName,
org.quartz.spi.ClassLoadHelper loadHelper)
throws ClassNotFoundException,
IOException,
SQLException
- Specified by:
selectJobDetail
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
ClassNotFoundException
IOException
SQLException
updateTriggerStatesFromOtherStates
public int updateTriggerStatesFromOtherStates(Connection conn,
String newState,
String oldState1,
String oldState2)
throws SQLException
- Specified by:
updateTriggerStatesFromOtherStates
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectMisfiredTriggers
public org.quartz.utils.Key[] selectMisfiredTriggers(Connection conn,
long ts)
throws SQLException
- Specified by:
selectMisfiredTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectMisfiredTriggersInState
public org.quartz.utils.Key[] selectMisfiredTriggersInState(Connection conn,
String state,
long ts)
throws SQLException
- Specified by:
selectMisfiredTriggersInState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectMisfiredTriggersInGroupInState
public org.quartz.utils.Key[] selectMisfiredTriggersInGroupInState(Connection conn,
String groupName,
String state,
long ts)
throws SQLException
- Specified by:
selectMisfiredTriggersInGroupInState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggersForRecoveringJobs
public org.quartz.Trigger[] selectTriggersForRecoveringJobs(Connection conn)
throws SQLException,
IOException,
ClassNotFoundException
- Specified by:
selectTriggersForRecoveringJobs
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
IOException
ClassNotFoundException
deleteFiredTriggers
public int deleteFiredTriggers(Connection conn)
throws SQLException
- Specified by:
deleteFiredTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteFiredTriggers
public int deleteFiredTriggers(Connection conn,
String instanceId)
throws SQLException
- Specified by:
deleteFiredTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteVolatileFiredTriggers
public int deleteVolatileFiredTriggers(Connection conn)
throws SQLException
- Specified by:
deleteVolatileFiredTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectVolatileTriggers
public org.quartz.utils.Key[] selectVolatileTriggers(Connection conn)
throws SQLException
- Specified by:
selectVolatileTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectVolatileJobs
public org.quartz.utils.Key[] selectVolatileJobs(Connection conn)
throws SQLException
- Specified by:
selectVolatileJobs
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerNamesForJob
public org.quartz.utils.Key[] selectTriggerNamesForJob(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
selectTriggerNamesForJob
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteJobListeners
public int deleteJobListeners(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
deleteJobListeners
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteJobDetail
public int deleteJobDetail(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
deleteJobDetail
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
isJobStateful
public boolean isJobStateful(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
isJobStateful
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
jobExists
public boolean jobExists(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
jobExists
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertJobListener
public int insertJobListener(Connection conn,
org.quartz.JobDetail job,
String listener)
throws SQLException
- Specified by:
insertJobListener
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectJobListeners
public String[] selectJobListeners(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
selectJobListeners
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectNumJobs
public int selectNumJobs(Connection conn)
throws SQLException
- Specified by:
selectNumJobs
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectJobGroups
public String[] selectJobGroups(Connection conn)
throws SQLException
- Specified by:
selectJobGroups
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectJobsInGroup
public String[] selectJobsInGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
selectJobsInGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertTrigger
public int insertTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
throws SQLException,
IOException
- Specified by:
insertTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
IOException
insertSimpleTrigger
public int insertSimpleTrigger(Connection conn,
org.quartz.SimpleTrigger trigger)
throws SQLException
- Specified by:
insertSimpleTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertBlobTrigger
public int insertBlobTrigger(Connection conn,
org.quartz.Trigger trigger)
throws SQLException,
IOException
- Specified by:
insertBlobTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
IOException
insertCronTrigger
public int insertCronTrigger(Connection conn,
org.quartz.CronTrigger trigger)
throws SQLException
- Specified by:
insertCronTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTrigger
public int updateTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
throws SQLException,
IOException
- Specified by:
updateTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
IOException
updateSimpleTrigger
public int updateSimpleTrigger(Connection conn,
org.quartz.SimpleTrigger trigger)
throws SQLException
- Specified by:
updateSimpleTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateCronTrigger
public int updateCronTrigger(Connection conn,
org.quartz.CronTrigger trigger)
throws SQLException
- Specified by:
updateCronTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateBlobTrigger
public int updateBlobTrigger(Connection conn,
org.quartz.Trigger trigger)
throws SQLException,
IOException
- Specified by:
updateBlobTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
IOException
triggerExists
public boolean triggerExists(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
triggerExists
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerState
public int updateTriggerState(Connection conn,
String triggerName,
String groupName,
String state)
throws SQLException
- Specified by:
updateTriggerState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerStateFromOtherState
public int updateTriggerStateFromOtherState(Connection conn,
String triggerName,
String groupName,
String newState,
String oldState)
throws SQLException
- Specified by:
updateTriggerStateFromOtherState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerStateFromOtherStates
public int updateTriggerStateFromOtherStates(Connection conn,
String triggerName,
String groupName,
String newState,
String oldState1,
String oldState2,
String oldState3)
throws SQLException
- Specified by:
updateTriggerStateFromOtherStates
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerStateFromOtherStatesBeforeTime
public int updateTriggerStateFromOtherStatesBeforeTime(Connection conn,
String newState,
String oldState1,
String oldState2,
long time)
throws SQLException
- Specified by:
updateTriggerStateFromOtherStatesBeforeTime
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerGroupStateFromOtherStates
public int updateTriggerGroupStateFromOtherStates(Connection conn,
String groupName,
String newState,
String oldState1,
String oldState2,
String oldState3)
throws SQLException
- Specified by:
updateTriggerGroupStateFromOtherStates
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerGroupStateFromOtherState
public int updateTriggerGroupStateFromOtherState(Connection conn,
String groupName,
String newState,
String oldState)
throws SQLException
- Specified by:
updateTriggerGroupStateFromOtherState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerStatesForJob
public int updateTriggerStatesForJob(Connection conn,
String jobName,
String groupName,
String state)
throws SQLException
- Specified by:
updateTriggerStatesForJob
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
updateTriggerStatesForJobFromOtherState
public int updateTriggerStatesForJobFromOtherState(Connection conn,
String jobName,
String groupName,
String state,
String oldState)
throws SQLException
- Specified by:
updateTriggerStatesForJobFromOtherState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteTriggerListeners
public int deleteTriggerListeners(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
deleteTriggerListeners
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertTriggerListener
public int insertTriggerListener(Connection conn,
org.quartz.Trigger trigger,
String listener)
throws SQLException
- Specified by:
insertTriggerListener
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerListeners
public String[] selectTriggerListeners(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
selectTriggerListeners
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteSimpleTrigger
public int deleteSimpleTrigger(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
deleteSimpleTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteBlobTrigger
public int deleteBlobTrigger(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
deleteBlobTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteCronTrigger
public int deleteCronTrigger(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
deleteCronTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteTrigger
public int deleteTrigger(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
deleteTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectNumTriggersForJob
public int selectNumTriggersForJob(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
selectNumTriggersForJob
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectJobForTrigger
public org.quartz.JobDetail selectJobForTrigger(Connection conn,
String triggerName,
String groupName,
org.quartz.spi.ClassLoadHelper loadHelper)
throws SQLException,
ClassNotFoundException
- Specified by:
selectJobForTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
ClassNotFoundException
selectStatefulJobsOfTriggerGroup
public List selectStatefulJobsOfTriggerGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
selectStatefulJobsOfTriggerGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggersForJob
public org.quartz.Trigger[] selectTriggersForJob(Connection conn,
String jobName,
String groupName)
throws SQLException,
ClassNotFoundException,
IOException
- Specified by:
selectTriggersForJob
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
ClassNotFoundException
IOException
selectTriggersForCalendar
public org.quartz.Trigger[] selectTriggersForCalendar(Connection conn,
String calName)
throws SQLException,
ClassNotFoundException,
IOException
- Specified by:
selectTriggersForCalendar
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
ClassNotFoundException
IOException
selectTrigger
public org.quartz.Trigger selectTrigger(Connection conn,
String triggerName,
String groupName)
throws SQLException,
ClassNotFoundException,
IOException
- Specified by:
selectTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
ClassNotFoundException
IOException
selectTriggerState
public String selectTriggerState(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
selectTriggerState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerStatus
public org.quartz.utils.TriggerStatus selectTriggerStatus(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
selectTriggerStatus
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectNumTriggers
public int selectNumTriggers(Connection conn)
throws SQLException
- Specified by:
selectNumTriggers
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerGroups
public String[] selectTriggerGroups(Connection conn)
throws SQLException
- Specified by:
selectTriggerGroups
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggersInGroup
public String[] selectTriggersInGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
selectTriggersInGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggersInState
public org.quartz.utils.Key[] selectTriggersInState(Connection conn,
String state)
throws SQLException
- Specified by:
selectTriggersInState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertPausedTriggerGroup
public int insertPausedTriggerGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
insertPausedTriggerGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deletePausedTriggerGroup
public int deletePausedTriggerGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
deletePausedTriggerGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteAllPausedTriggerGroups
public int deleteAllPausedTriggerGroups(Connection conn)
throws SQLException
- Specified by:
deleteAllPausedTriggerGroups
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
isTriggerGroupPaused
public boolean isTriggerGroupPaused(Connection conn,
String groupName)
throws SQLException
- Specified by:
isTriggerGroupPaused
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectPausedTriggerGroups
public Set selectPausedTriggerGroups(Connection conn)
throws SQLException
- Specified by:
selectPausedTriggerGroups
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
isExistingTriggerGroup
public boolean isExistingTriggerGroup(Connection conn,
String groupName)
throws SQLException
- Specified by:
isExistingTriggerGroup
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertCalendar
public int insertCalendar(Connection conn,
String calendarName,
org.quartz.Calendar calendar)
throws IOException,
SQLException
- Specified by:
insertCalendar
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
IOException
SQLException
updateCalendar
public int updateCalendar(Connection conn,
String calendarName,
org.quartz.Calendar calendar)
throws IOException,
SQLException
- Specified by:
updateCalendar
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
IOException
SQLException
calendarExists
public boolean calendarExists(Connection conn,
String calendarName)
throws SQLException
- Specified by:
calendarExists
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectCalendar
public org.quartz.Calendar selectCalendar(Connection conn,
String calendarName)
throws ClassNotFoundException,
IOException,
SQLException
- Specified by:
selectCalendar
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
ClassNotFoundException
IOException
SQLException
calendarIsReferenced
public boolean calendarIsReferenced(Connection conn,
String calendarName)
throws SQLException
- Specified by:
calendarIsReferenced
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteCalendar
public int deleteCalendar(Connection conn,
String calendarName)
throws SQLException
- Specified by:
deleteCalendar
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectNumCalendars
public int selectNumCalendars(Connection conn)
throws SQLException
- Specified by:
selectNumCalendars
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectCalendars
public String[] selectCalendars(Connection conn)
throws SQLException
- Specified by:
selectCalendars
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectNextFireTime
public long selectNextFireTime(Connection conn)
throws SQLException
- Specified by:
selectNextFireTime
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerForFireTime
public org.quartz.utils.Key selectTriggerForFireTime(Connection conn,
long fireTime)
throws SQLException
- Specified by:
selectTriggerForFireTime
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertFiredTrigger
public int insertFiredTrigger(Connection conn,
org.quartz.Trigger trigger,
String state,
org.quartz.JobDetail jobDetail)
throws SQLException
- Specified by:
insertFiredTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectFiredTriggerRecords
public List selectFiredTriggerRecords(Connection conn,
String triggerName,
String groupName)
throws SQLException
- Specified by:
selectFiredTriggerRecords
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectFiredTriggerRecordsByJob
public List selectFiredTriggerRecordsByJob(Connection conn,
String jobName,
String groupName)
throws SQLException
- Specified by:
selectFiredTriggerRecordsByJob
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectInstancesFiredTriggerRecords
public List selectInstancesFiredTriggerRecords(Connection conn,
String instanceName)
throws SQLException
- Specified by:
selectInstancesFiredTriggerRecords
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteFiredTrigger
public int deleteFiredTrigger(Connection conn,
String entryId)
throws SQLException
- Specified by:
deleteFiredTrigger
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectJobExecutionCount
public int selectJobExecutionCount(Connection conn,
String jobName,
String jobGroup)
throws SQLException
- Specified by:
selectJobExecutionCount
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
insertSchedulerState
public int insertSchedulerState(Connection conn,
String instanceId,
long checkInTime,
long interval,
String recoverer)
throws SQLException
- Specified by:
insertSchedulerState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
deleteSchedulerState
public int deleteSchedulerState(Connection conn,
String instanceId)
throws SQLException
- Specified by:
deleteSchedulerState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectSchedulerStateRecords
public List selectSchedulerStateRecords(Connection conn,
String instanceId)
throws SQLException
- Specified by:
selectSchedulerStateRecords
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
selectTriggerJobDataMap
public org.quartz.JobDataMap selectTriggerJobDataMap(Connection conn,
String triggerName,
String groupName)
throws SQLException,
ClassNotFoundException,
IOException
- Specified by:
selectTriggerJobDataMap
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
ClassNotFoundException
IOException
updateSchedulerState
public int updateSchedulerState(Connection conn,
String instanceId,
long checkInTime,
String recoverer)
throws SQLException
- Specified by:
updateSchedulerState
in interface org.quartz.impl.jdbcjobstore.DriverDelegate
- Throws:
SQLException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.