Codota Logo
DriverDelegate.deleteTriggerListeners
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.quartz.impl.jdbcjobstore.DriverDelegate.deleteTriggerListeners (Showing top 2 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: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Delete a trigger, its listeners, and its Simple/Cron/BLOB sub-table entry.
 * 
 * @see #removeJob(Connection, SchedulingContext, String, String, boolean)
 * @see #removeTrigger(Connection, SchedulingContext, String, String)
 * @see #replaceTrigger(Connection, SchedulingContext, String, String, Trigger)
 */
private boolean deleteTriggerAndChildren(
    Connection conn, String triggerName, String triggerGroupName)
  throws SQLException, NoSuchDelegateException {
  DriverDelegate delegate = getDelegate();
  // Once it succeeds in deleting one sub-table entry it will not try the others.
  if ((delegate.deleteSimpleTrigger(conn, triggerName, triggerGroupName) == 0) && 
    (delegate.deleteCronTrigger(conn, triggerName, triggerGroupName) == 0)) {
    delegate.deleteBlobTrigger(conn, triggerName, triggerGroupName);
  }
  
  delegate.deleteTriggerListeners(conn, triggerName, triggerGroupName);
  
  return (delegate.deleteTrigger(conn, triggerName, triggerGroupName) > 0);
}
 
origin: quartz/quartz-all

/**
 * Delete a trigger, its listeners, and its Simple/Cron/BLOB sub-table entry.
 * 
 * @see #removeJob(Connection, SchedulingContext, String, String, boolean)
 * @see #removeTrigger(Connection, SchedulingContext, String, String)
 * @see #replaceTrigger(Connection, SchedulingContext, String, String, Trigger)
 */
private boolean deleteTriggerAndChildren(
    Connection conn, String triggerName, String triggerGroupName)
  throws SQLException, NoSuchDelegateException {
  DriverDelegate delegate = getDelegate();
  // Once it succeeds in deleting one sub-table entry it will not try the others.
  if ((delegate.deleteSimpleTrigger(conn, triggerName, triggerGroupName) == 0) && 
    (delegate.deleteCronTrigger(conn, triggerName, triggerGroupName) == 0)) {
    delegate.deleteBlobTrigger(conn, triggerName, triggerGroupName);
  }
  
  delegate.deleteTriggerListeners(conn, triggerName, triggerGroupName);
  
  return (delegate.deleteTrigger(conn, triggerName, triggerGroupName) > 0);
}

org.quartz.impl.jdbcjobstoreDriverDelegatedeleteTriggerListeners

Javadoc

Delete all of the listeners associated with a given trigger.

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

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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