Codota Logo
DriverDelegate.updateJobDetail
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • getSystemService (Context)
  • runOnUiThread (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now