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

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

Best Java code snippets using org.quartz.impl.jdbcjobstore.DriverDelegate.insertJobDetail (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

getDelegate().insertJobDetail(conn, newJob);
origin: com.opensymphony.quartz/com.springsource.org.quartz

getDelegate().insertJobDetail(conn, newJob);
org.quartz.impl.jdbcjobstoreDriverDelegateinsertJobDetail

Javadoc

Insert 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.
  • insertPausedTriggerGroup
  • insertFiredTrigger,
  • insertPausedTriggerGroup,
  • insertSchedulerState,
  • insertTrigger,
  • isTriggerGroupPaused,
  • jobExists,
  • selectCalendar,
  • selectCalendars,
  • selectFiredTriggerInstanceNames

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • JCheckBox (javax.swing)
  • JList (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Vim plugins
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