Java Code Examples for org.quartz.SchedulerListener#triggersResumed()
The following examples show how to use
org.quartz.SchedulerListener#triggersResumed() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: QuartzScheduler.java From AsuraFramework with Apache License 2.0 | 6 votes |
public void notifySchedulerListenersResumedTrigger(String name, String group) { // build a list of all job listeners that are to be notified... List schedListeners = getSchedulerListeners(); // notify all scheduler listeners java.util.Iterator itr = schedListeners.iterator(); while (itr.hasNext()) { SchedulerListener sl = (SchedulerListener) itr.next(); try { sl.triggersResumed(name, group); } catch (Exception e) { getLog().error( "Error while notifying SchedulerListener of resumed trigger/group." + " Triger=" + group + "." + name, e); } } }
Example 2
Source File: BroadcastSchedulerListener.java From lams with GNU General Public License v2.0 | 5 votes |
public void triggersResumed(String triggerGroup) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggersResumed(triggerGroup); } }
Example 3
Source File: QuartzScheduler.java From lams with GNU General Public License v2.0 | 5 votes |
public void notifySchedulerListenersResumedTriggers(String group) { // build a list of all scheduler listeners that are to be notified... List<SchedulerListener> schedListeners = buildSchedulerListenerList(); // notify all scheduler listeners for(SchedulerListener sl: schedListeners) { try { sl.triggersResumed(group); } catch (Exception e) { getLog().error( "Error while notifying SchedulerListener of resumed group: " + group, e); } } }
Example 4
Source File: BroadcastSchedulerListener.java From AsuraFramework with Apache License 2.0 | 5 votes |
public void triggersResumed(String triggerName, String triggerGroup) { Iterator itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = (SchedulerListener) itr.next(); l.triggersResumed(triggerName, triggerGroup); } }