Tabnine Logo
Scheduler.unscheduleJob
Code IndexAdd Tabnine to your IDE (free)

How to use
unscheduleJob
method
in
org.quartz.core.Scheduler

Best Java code snippets using org.quartz.core.Scheduler.unscheduleJob (Showing top 3 results out of 315)

origin: com.xeiam/sundial

/**
 * Removes a Trigger matching the the given Trigger Name
 *
 * @param triggerName
 */
public static void removeTrigger(String triggerName) {
 try {
  getScheduler().unscheduleJob(triggerName);
 } catch (SchedulerException e) {
  logger.error("ERROR REMOVING TRIGGER!!!", e);
 }
}
origin: org.knowm/sundial

/**
 * Removes a Trigger matching the the given Trigger Name
 *
 * @param triggerName
 */
public static void removeTrigger(String triggerName) throws SundialSchedulerException {
 try {
  getScheduler().unscheduleJob(triggerName);
 } catch (SchedulerException e) {
  throw new SundialSchedulerException("ERROR REMOVING TRIGGER!!!", e);
 }
}
origin: knowm/Sundial

/**
 * Removes a Trigger matching the the given Trigger Name
 *
 * @param triggerName
 */
public static void removeTrigger(String triggerName) throws SundialSchedulerException {
 try {
  getScheduler().unscheduleJob(triggerName);
 } catch (SchedulerException e) {
  throw new SundialSchedulerException("ERROR REMOVING TRIGGER!!!", e);
 }
}
org.quartz.coreSchedulerunscheduleJob

Javadoc

Remove the indicated Trigger from the scheduler.

If the related job does not have any other triggers, and the job is not durable, then the job will also be deleted.

Popular methods of Scheduler

  • getTrigger
    Get the Trigger instance with the given key. The returned Trigger object will be a snap-shot of the
  • addJob
    Add the given Job to the Scheduler - with no associated Trigger. The Job will be 'dormant' until it
  • deleteJob
    Delete the identified Job from the Scheduler - and any associated Triggers.
  • getCascadingClassLoadHelper
  • getCurrentlyExecutingJobs
    Return a list of JobExecutionContext objects that represent all currently executing Jobs in this Sch
  • getJobKeys
    Get the keys of all the org.quartz.jobs.JobDetails in the matching groups.
  • getTriggersOfJob
    Get all Trigger s that are associated with the identified org.quartz.jobs.JobDetail. The returned T
  • rescheduleJob
    Remove (delete) the org.quartz.triggers.OperableTrigger with the given key, and store the new given
  • scheduleJob
    Schedule the given org.quartz.triggers.OperableTrigger with the Job identified by the Trigger's sett
  • shutdown
    Halts the Scheduler's firing of Triggers, and cleans up all resources associated with the Scheduler.
  • start
    Starts the Scheduler's threads that fire Triggers. When a scheduler is first created it is in "stand
  • startDelayed
    Calls {#start()} after the indicated number of seconds. (This call does not block). This can be usef
  • start,
  • startDelayed,
  • triggerJob,
  • getListenerManager

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JTable (javax.swing)
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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