Tabnine Logo
DriverDelegate.updateJobDetail
Code IndexAdd Tabnine to your IDE (free)

How to use
updateJobDetail
method
in
org.quartz.impl.jdbcjobstore.DriverDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.DriverDelegate.updateJobDetail (Showing top 4 results out of 315)

origin: quartz-scheduler/quartz

/**
 * <p>
 * Insert or update a job.
 * </p>
 */
protected void storeJob(Connection conn, 
    JobDetail newJob, boolean replaceExisting)
  throws JobPersistenceException {
  boolean existingJob = jobExists(conn, newJob.getKey());
  try {
    if (existingJob) {
      if (!replaceExisting) { 
        throw new ObjectAlreadyExistsException(newJob); 
      }
      getDelegate().updateJobDetail(conn, newJob);
    } else {
      getDelegate().insertJobDetail(conn, newJob);
    }
  } catch (IOException e) {
    throw new JobPersistenceException("Couldn't store job: "
        + e.getMessage(), e);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't store job: "
        + e.getMessage(), e);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Insert or update a job.
 * </p>
 */
protected void storeJob(Connection conn, 
    JobDetail newJob, boolean replaceExisting)
  throws JobPersistenceException {
  boolean existingJob = jobExists(conn, newJob.getKey());
  try {
    if (existingJob) {
      if (!replaceExisting) { 
        throw new ObjectAlreadyExistsException(newJob); 
      }
      getDelegate().updateJobDetail(conn, newJob);
    } else {
      getDelegate().insertJobDetail(conn, newJob);
    }
  } catch (IOException e) {
    throw new JobPersistenceException("Couldn't store job: "
        + e.getMessage(), e);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't store job: "
        + e.getMessage(), e);
  }
}
origin: quartz/quartz-all

    throw new ObjectAlreadyExistsException(newJob); 
  getDelegate().updateJobDetail(conn, newJob);
} else {
  getDelegate().insertJobDetail(conn, newJob);
origin: com.opensymphony.quartz/com.springsource.org.quartz

    throw new ObjectAlreadyExistsException(newJob); 
  getDelegate().updateJobDetail(conn, newJob);
} else {
  getDelegate().insertJobDetail(conn, newJob);
org.quartz.impl.jdbcjobstoreDriverDelegateupdateJobDetail

Javadoc

Update the job detail record.

Popular methods of DriverDelegate

  • calendarExists
    Check whether or not a calendar exists.
  • calendarIsReferenced
    Check whether or not a calendar is referenced by any triggers.
  • deleteCalendar
    Delete a calendar.
  • deleteFiredTrigger
    Delete a fired trigger.
  • deleteFiredTriggers
    Delete all fired triggers of the given instance.
  • deleteJobDetail
    Delete the job detail record for the given job.
  • deletePausedTriggerGroup
  • deleteSchedulerState
    Delete a scheduler-instance state record.
  • deleteTrigger
    Delete the base trigger data for a trigger.
  • insertCalendar
    Insert a new calendar.
  • insertFiredTrigger
    Insert a fired trigger.
  • insertJobDetail
    Insert the job detail record.
  • insertFiredTrigger,
  • insertJobDetail,
  • insertPausedTriggerGroup,
  • insertSchedulerState,
  • insertTrigger,
  • isTriggerGroupPaused,
  • jobExists,
  • selectCalendar,
  • selectCalendars,
  • selectFiredTriggerInstanceNames

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now