Uses of Class
org.quartz.JobPersistenceException

Packages that use JobPersistenceException
org.quartz The main package of Quartz, containing the client-side interfaces. 
org.quartz.core Contains the core classes and interfaces for the Quartz job scheduler. 
org.quartz.impl.jdbcjobstore   
org.quartz.simpl Contains simple / light-weight implementations (with no dependencies on external libraries) of interfaces required by the org.quartz.core.QuartzScheduler. 
org.quartz.spi Contains Service Provider Interfaces that can be implemented by those wishing to create and use custom versions of Quartz back-end/behind-the-scenes services. 
 

Uses of JobPersistenceException in org.quartz
 

Subclasses of JobPersistenceException in org.quartz
 class ObjectAlreadyExistsException
           An exception that is thrown to indicate that an attempt to store a new object (i.e.
 

Uses of JobPersistenceException in org.quartz.core
 

Methods in org.quartz.core that throw JobPersistenceException
protected  void QuartzScheduler.notifyJobStoreJobComplete(SchedulingContext ctxt, Trigger trigger, JobDetail detail, int instCode)
           
protected  void QuartzScheduler.notifyJobStoreJobVetoed(SchedulingContext ctxt, Trigger trigger, JobDetail detail, int instCode)
           
 

Uses of JobPersistenceException in org.quartz.impl.jdbcjobstore
 

Subclasses of JobPersistenceException in org.quartz.impl.jdbcjobstore
 class LockException
           Exception class for when there is a failure obtaining or releasing a resource lock.
 class NoSuchDelegateException
           Exception class for when a driver delegate cannot be found for a given configuration, or lack thereof.
 

Methods in org.quartz.impl.jdbcjobstore that throw JobPersistenceException
protected  Trigger JobStoreSupport.acquireNextTrigger(java.sql.Connection conn, SchedulingContext ctxt, long noLaterThan)
           
 Trigger JobStoreSupport.acquireNextTrigger(SchedulingContext ctxt, long noLaterThan)
           Get a handle to the next N triggers to be fired, and mark them as 'reserved' by the calling scheduler.
protected  boolean JobStoreSupport.calendarExists(java.sql.Connection conn, java.lang.String calName)
           
protected  java.lang.String JobStoreSupport.checkBlockedState(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String jobName, java.lang.String jobGroupName, java.lang.String currentState)
          Determines if a Trigger for the given job should be blocked.
protected  void JobStoreSupport.cleanVolatileTriggerAndJobs()
          Removes all volatile data.
protected  void JobStoreSupport.cleanVolatileTriggerAndJobs(java.sql.Connection conn)
           Removes all volatile data.
protected  java.util.List JobStoreSupport.clusterCheckIn(java.sql.Connection conn)
           
protected  void JobStoreSupport.clusterRecover(java.sql.Connection conn, java.util.List failedInstances)
           
protected  void JobStoreSupport.commitConnection(java.sql.Connection conn)
          Commit the supplied connection
protected  boolean JobStoreSupport.doCheckin()
           
protected  JobStoreSupport.RecoverMisfiredJobsResult JobStoreSupport.doRecoverMisfires()
           
 java.lang.Object JobStoreSupport.TransactionCallback.execute(java.sql.Connection conn)
           
 void JobStoreSupport.VoidTransactionCallback.execute(java.sql.Connection conn)
           
protected  java.lang.Object JobStoreTX.executeInLock(java.lang.String lockName, JobStoreSupport.TransactionCallback txCallback)
          Execute the given callback having optionally aquired the given lock.
protected abstract  java.lang.Object JobStoreSupport.executeInLock(java.lang.String lockName, JobStoreSupport.TransactionCallback txCallback)
          Execute the given callback having aquired the given lock.
protected  java.lang.Object JobStoreCMT.executeInLock(java.lang.String lockName, JobStoreSupport.TransactionCallback txCallback)
          Execute the given callback having optionally acquired the given lock.
protected  void JobStoreSupport.executeInLock(java.lang.String lockName, JobStoreSupport.VoidTransactionCallback txCallback)
          Execute the given callback having aquired the given lock.
protected  java.lang.Object JobStoreSupport.executeInNonManagedTXLock(java.lang.String lockName, JobStoreSupport.TransactionCallback txCallback)
          Execute the given callback having optionally aquired the given lock.
protected  void JobStoreSupport.executeInNonManagedTXLock(java.lang.String lockName, JobStoreSupport.VoidTransactionCallback txCallback)
          Execute the given callback having optionally aquired the given lock.
 java.lang.Object JobStoreSupport.executeWithoutLock(JobStoreSupport.TransactionCallback txCallback)
          Execute the given callback in a transaction.
protected  java.util.List JobStoreSupport.findFailedInstances(java.sql.Connection conn)
          Get a list of all scheduler instances in the cluster that may have failed.
protected  java.lang.String[] JobStoreSupport.getCalendarNames(java.sql.Connection conn, SchedulingContext ctxt)
           
 java.lang.String[] JobStoreSupport.getCalendarNames(SchedulingContext ctxt)
           Get the names of all of the Calendar s in the JobStore.
protected  java.sql.Connection JobStoreSupport.getConnection()
           
protected  java.lang.String[] JobStoreSupport.getJobGroupNames(java.sql.Connection conn, SchedulingContext ctxt)
           
 java.lang.String[] JobStoreSupport.getJobGroupNames(SchedulingContext ctxt)
           Get the names of all of the Job groups.
protected  java.lang.String[] JobStoreSupport.getJobNames(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String groupName)
           
 java.lang.String[] JobStoreSupport.getJobNames(SchedulingContext ctxt, java.lang.String groupName)
           Get the names of all of the Job s that have the given group name.
protected  java.sql.Connection JobStoreTX.getNonManagedTXConnection()
          For JobStoreTX, the non-managed TX connection is just the normal connection because it is not CMT.
protected abstract  java.sql.Connection JobStoreSupport.getNonManagedTXConnection()
           
protected  java.sql.Connection JobStoreCMT.getNonManagedTXConnection()
           
protected  int JobStoreSupport.getNumberOfCalendars(java.sql.Connection conn, SchedulingContext ctxt)
           
 int JobStoreSupport.getNumberOfCalendars(SchedulingContext ctxt)
           Get the number of Calendar s that are stored in the JobsStore.
protected  int JobStoreSupport.getNumberOfJobs(java.sql.Connection conn, SchedulingContext ctxt)
           
 int JobStoreSupport.getNumberOfJobs(SchedulingContext ctxt)
           Get the number of Job s that are stored in the JobStore.
protected  int JobStoreSupport.getNumberOfTriggers(java.sql.Connection conn, SchedulingContext ctxt)
           
 int JobStoreSupport.getNumberOfTriggers(SchedulingContext ctxt)
           Get the number of Trigger s that are stored in the JobsStore.
 java.util.Set JobStoreSupport.getPausedTriggerGroups(java.sql.Connection conn, SchedulingContext ctxt)
           Pause all of the Triggers in the given group.
 java.util.Set JobStoreSupport.getPausedTriggerGroups(SchedulingContext ctxt)
           
protected  java.lang.String[] JobStoreSupport.getTriggerGroupNames(java.sql.Connection conn, SchedulingContext ctxt)
           
 java.lang.String[] JobStoreSupport.getTriggerGroupNames(SchedulingContext ctxt)
           Get the names of all of the Trigger groups.
protected  java.lang.String[] JobStoreSupport.getTriggerNames(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String groupName)
           
 java.lang.String[] JobStoreSupport.getTriggerNames(SchedulingContext ctxt, java.lang.String groupName)
           Get the names of all of the Trigger s that have the given group name.
protected  Trigger[] JobStoreSupport.getTriggersForJob(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 Trigger[] JobStoreSupport.getTriggersForJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Get all of the Triggers that are associated to the given Job.
 int JobStoreSupport.getTriggerState(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
 int JobStoreSupport.getTriggerState(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Get the current state of the identified Trigger.
protected  boolean JobStoreSupport.jobExists(java.sql.Connection conn, java.lang.String jobName, java.lang.String groupName)
           Check existence of a given job.
 void JobStoreSupport.pauseAll(java.sql.Connection conn, SchedulingContext ctxt)
           Pause all triggers - equivalent of calling pauseTriggerGroup(group) on every group.
 void JobStoreSupport.pauseAll(SchedulingContext ctxt)
           Pause all triggers - equivalent of calling pauseTriggerGroup(group) on every group.
 void JobStoreSupport.pauseJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Pause the Job with the given name - by pausing all of its current Triggers.
 void JobStoreSupport.pauseJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           Pause all of the Jobs in the given group - by pausing all of their Triggers.
 void JobStoreSupport.pauseTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Pause the Trigger with the given name.
 void JobStoreSupport.pauseTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Pause the Trigger with the given name.
 void JobStoreSupport.pauseTriggerGroup(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String groupName)
           Pause all of the Triggers in the given group.
 void JobStoreSupport.pauseTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           Pause all of the Triggers in the given group.
protected  void JobStoreSupport.recoverJobs()
          Recover any failed or misfired jobs and clean up the data store as appropriate.
protected  void JobStoreSupport.recoverJobs(java.sql.Connection conn)
           Will recover any failed or misfired jobs and clean up the data store as appropriate.
protected  JobStoreSupport.RecoverMisfiredJobsResult JobStoreSupport.recoverMisfiredJobs(java.sql.Connection conn, boolean recovering)
           
protected  void JobStoreSupport.releaseAcquiredTrigger(java.sql.Connection conn, SchedulingContext ctxt, Trigger trigger)
           
 void JobStoreSupport.releaseAcquiredTrigger(SchedulingContext ctxt, Trigger trigger)
           Inform the JobStore that the scheduler no longer plans to fire the given Trigger, that it had previously acquired (reserved).
protected  boolean JobStoreSupport.removeCalendar(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String calName)
           
 boolean JobStoreSupport.removeCalendar(SchedulingContext ctxt, java.lang.String calName)
           Remove (delete) the Calendar with the given name.
protected  boolean JobStoreSupport.removeJob(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName, boolean activeDeleteSafe)
           
 boolean JobStoreSupport.removeJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Remove (delete) the Job with the given name, and any Trigger s that reference it.
protected  boolean JobStoreSupport.removeTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
 boolean JobStoreSupport.removeTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Remove (delete) the Trigger with the given name.
protected  boolean JobStoreSupport.replaceTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, Trigger newTrigger)
           
 boolean JobStoreSupport.replaceTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, Trigger newTrigger)
           
 void JobStoreSupport.resumeAll(java.sql.Connection conn, SchedulingContext ctxt)
          protected
 void JobStoreSupport.resumeAll(SchedulingContext ctxt)
           Resume (un-pause) all triggers - equivalent of calling resumeTriggerGroup(group) on every group.
 void JobStoreSupport.resumeJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Resume (un-pause) the Job with the given name.
 void JobStoreSupport.resumeJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           Resume (un-pause) all of the Jobs in the given group.
 void JobStoreSupport.resumeTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Resume (un-pause) the Trigger with the given name.
 void JobStoreSupport.resumeTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Resume (un-pause) the Trigger with the given name.
 void JobStoreSupport.resumeTriggerGroup(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String groupName)
           Resume (un-pause) all of the Triggers in the given group.
 void JobStoreSupport.resumeTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           Resume (un-pause) all of the Triggers in the given group.
protected  Calendar JobStoreSupport.retrieveCalendar(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String calName)
           
 Calendar JobStoreSupport.retrieveCalendar(SchedulingContext ctxt, java.lang.String calName)
           Retrieve the given Trigger.
protected  JobDetail JobStoreSupport.retrieveJob(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 JobDetail JobStoreSupport.retrieveJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Retrieve the JobDetail for the given Job.
protected  Trigger JobStoreSupport.retrieveTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
protected  Trigger JobStoreSupport.retrieveTrigger(java.sql.Connection conn, java.lang.String triggerName, java.lang.String groupName)
           
 Trigger JobStoreSupport.retrieveTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Retrieve the given Trigger.
protected  void JobStoreSupport.storeCalendar(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String calName, Calendar calendar, boolean replaceExisting, boolean updateTriggers)
           
 void JobStoreSupport.storeCalendar(SchedulingContext ctxt, java.lang.String calName, Calendar calendar, boolean replaceExisting, boolean updateTriggers)
           Store the given Calendar.
protected  void JobStoreSupport.storeJob(java.sql.Connection conn, SchedulingContext ctxt, JobDetail newJob, boolean replaceExisting)
           Insert or update a job.
 void JobStoreSupport.storeJob(SchedulingContext ctxt, JobDetail newJob, boolean replaceExisting)
           Store the given JobDetail.
 void JobStoreSupport.storeJobAndTrigger(SchedulingContext ctxt, JobDetail newJob, Trigger newTrigger)
           Store the given JobDetail and Trigger.
protected  void JobStoreSupport.storeTrigger(java.sql.Connection conn, SchedulingContext ctxt, Trigger newTrigger, JobDetail job, boolean replaceExisting, java.lang.String state, boolean forceState, boolean recovering)
           Insert or update a trigger.
 void JobStoreSupport.storeTrigger(SchedulingContext ctxt, Trigger newTrigger, boolean replaceExisting)
           Store the given Trigger.
protected  void JobStoreSupport.triggeredJobComplete(java.sql.Connection conn, SchedulingContext ctxt, Trigger trigger, JobDetail jobDetail, int triggerInstCode)
           
 void JobStoreSupport.triggeredJobComplete(SchedulingContext ctxt, Trigger trigger, JobDetail jobDetail, int triggerInstCode)
           Inform the JobStore that the scheduler has completed the firing of the given Trigger (and the execution its associated Job), and that the JobDataMap in the given JobDetail should be updated if the Job is stateful.
protected  boolean JobStoreSupport.triggerExists(java.sql.Connection conn, java.lang.String triggerName, java.lang.String groupName)
           Check existence of a given trigger.
protected  TriggerFiredBundle JobStoreSupport.triggerFired(java.sql.Connection conn, SchedulingContext ctxt, Trigger trigger)
           
 TriggerFiredBundle JobStoreSupport.triggerFired(SchedulingContext ctxt, Trigger trigger)
           Inform the JobStore that the scheduler is now firing the given Trigger (executing its associated Job), that it had previously acquired (reserved).
protected  boolean JobStoreSupport.updateMisfiredTrigger(java.sql.Connection conn, SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, java.lang.String newStateIfNotComplete, boolean forceState)
           
 

Uses of JobPersistenceException in org.quartz.simpl
 

Methods in org.quartz.simpl that throw JobPersistenceException
 java.util.Set RAMJobStore.getPausedTriggerGroups(SchedulingContext ctxt)
           
 int RAMJobStore.getTriggerState(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Get the current state of the identified Trigger.
 boolean RAMJobStore.removeCalendar(SchedulingContext ctxt, java.lang.String calName)
           Remove (delete) the Calendar with the given name.
 boolean RAMJobStore.replaceTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, Trigger newTrigger)
           
 void RAMJobStore.storeJobAndTrigger(SchedulingContext ctxt, JobDetail newJob, Trigger newTrigger)
           Store the given JobDetail and Trigger.
 void RAMJobStore.storeTrigger(SchedulingContext ctxt, Trigger newTrigger, boolean replaceExisting)
           Store the given Trigger.
 

Uses of JobPersistenceException in org.quartz.spi
 

Methods in org.quartz.spi that throw JobPersistenceException
 Trigger JobStore.acquireNextTrigger(SchedulingContext ctxt, long noLaterThan)
           Get a handle to the next trigger to be fired, and mark it as 'reserved' by the calling scheduler.
 java.lang.String[] JobStore.getCalendarNames(SchedulingContext ctxt)
           Get the names of all of the Calendar s in the JobStore.
 java.lang.String[] JobStore.getJobGroupNames(SchedulingContext ctxt)
           Get the names of all of the Job groups.
 java.lang.String[] JobStore.getJobNames(SchedulingContext ctxt, java.lang.String groupName)
           Get the names of all of the Job s that have the given group name.
 int JobStore.getNumberOfCalendars(SchedulingContext ctxt)
           Get the number of Calendar s that are stored in the JobsStore.
 int JobStore.getNumberOfJobs(SchedulingContext ctxt)
           Get the number of Job s that are stored in the JobsStore.
 int JobStore.getNumberOfTriggers(SchedulingContext ctxt)
           Get the number of Trigger s that are stored in the JobsStore.
 java.util.Set JobStore.getPausedTriggerGroups(SchedulingContext ctxt)
           
 java.lang.String[] JobStore.getTriggerGroupNames(SchedulingContext ctxt)
           Get the names of all of the Trigger groups.
 java.lang.String[] JobStore.getTriggerNames(SchedulingContext ctxt, java.lang.String groupName)
           Get the names of all of the Trigger s that have the given group name.
 Trigger[] JobStore.getTriggersForJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Get all of the Triggers that are associated to the given Job.
 int JobStore.getTriggerState(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String triggerGroup)
           Get the current state of the identified Trigger.
 void JobStore.pauseAll(SchedulingContext ctxt)
           Pause all triggers - equivalent of calling pauseTriggerGroup(group) on every group.
 void JobStore.pauseJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Pause the Job with the given name - by pausing all of its current Triggers.
 void JobStore.pauseJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           Pause all of the Jobs in the given group - by pausing all of their Triggers.
 void JobStore.pauseTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Pause the Trigger with the given name.
 void JobStore.pauseTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           Pause all of the Triggers in the given group.
 void JobStore.releaseAcquiredTrigger(SchedulingContext ctxt, Trigger trigger)
           Inform the JobStore that the scheduler no longer plans to fire the given Trigger, that it had previously acquired (reserved).
 boolean JobStore.removeCalendar(SchedulingContext ctxt, java.lang.String calName)
           Remove (delete) the Calendar with the given name.
 boolean JobStore.removeJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Remove (delete) the Job with the given name, and any Trigger s that reference it.
 boolean JobStore.removeTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Remove (delete) the Trigger with the given name.
 boolean JobStore.replaceTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, Trigger newTrigger)
           Remove (delete) the Trigger with the given name, and store the new given one - which must be associated with the same job.
 void JobStore.resumeAll(SchedulingContext ctxt)
           Resume (un-pause) all triggers - equivalent of calling resumeTriggerGroup(group) on every group.
 void JobStore.resumeJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Resume (un-pause) the Job with the given name.
 void JobStore.resumeJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           Resume (un-pause) all of the Jobs in the given group.
 void JobStore.resumeTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Resume (un-pause) the Trigger with the given name.
 void JobStore.resumeTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           Resume (un-pause) all of the Triggers in the given group.
 Calendar JobStore.retrieveCalendar(SchedulingContext ctxt, java.lang.String calName)
           Retrieve the given Trigger.
 JobDetail JobStore.retrieveJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           Retrieve the JobDetail for the given Job.
 Trigger JobStore.retrieveTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           Retrieve the given Trigger.
 void JobStore.storeCalendar(SchedulingContext ctxt, java.lang.String name, Calendar calendar, boolean replaceExisting, boolean updateTriggers)
           Store the given Calendar.
 void JobStore.storeJob(SchedulingContext ctxt, JobDetail newJob, boolean replaceExisting)
           Store the given JobDetail.
 void JobStore.storeJobAndTrigger(SchedulingContext ctxt, JobDetail newJob, Trigger newTrigger)
           Store the given JobDetail and Trigger.
 void JobStore.storeTrigger(SchedulingContext ctxt, Trigger newTrigger, boolean replaceExisting)
           Store the given Trigger.
 void JobStore.triggeredJobComplete(SchedulingContext ctxt, Trigger trigger, JobDetail jobDetail, int triggerInstCode)
           Inform the JobStore that the scheduler has completed the firing of the given Trigger (and the execution of its associated Job completed, threw an exception, or was vetoed), and that the JobDataMap in the given JobDetail should be updated if the Job is stateful.
 TriggerFiredBundle JobStore.triggerFired(SchedulingContext ctxt, Trigger trigger)
           Inform the JobStore that the scheduler is now firing the given Trigger (executing its associated Job), that it had previously acquired (reserved).
 



Copyright 2001-2019, Terracotta, Inc.