/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ public void standby() { resources.getJobStore().schedulerPaused(); schedThread.togglePause(true); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " paused."); notifySchedulerListenersInStandbyMode(); }
/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ public void standby() { resources.getJobStore().schedulerPaused(); schedThread.togglePause(true); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " paused."); notifySchedulerListenersInStandbyMode(); }
schedThread.togglePause(false);
schedThread.togglePause(false);
/** * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code> * {@link org.quartz.triggers.Trigger}s</code>. * * <p>The scheduler is not destroyed, and can be re-started at any time. */ @Override public void standby() { this.quartzSchedulerThread.togglePause(true); logger.info("Scheduler paused."); notifySchedulerListenersInStandbyMode(); }
/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.triggers.Trigger}s</code>. * </p> * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ @Override public void standby() { this.quartzSchedulerThread.togglePause(true); logger.info("Scheduler paused."); notifySchedulerListenersInStandbyMode(); }
/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.triggers.Trigger}s</code>. * </p> * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ @Override public void standby() { this.quartzSchedulerThread.togglePause(true); logger.info("Scheduler paused."); notifySchedulerListenersInStandbyMode(); }
/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ public void standby() { schedThread.togglePause(true); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " paused."); }
/** * <p> * Temporarily halts the <code>QuartzScheduler</code>'s firing of <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * The scheduler is not destroyed, and can be re-started at any time. * </p> */ public void standby() { schedThread.togglePause(true); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " paused."); }
/** * <p> * Starts the <code>QuartzScheduler</code>'s threads that fire <code>{@link org.quartz.triggers.Trigger}s</code>. * </p> * <p> * All <code>{@link org.quartz.triggers.Trigger}s</code> that have misfired will be passed to the appropriate TriggerListener(s). * </p> */ @Override public void start() throws SchedulerException { if (shuttingDown || closed) { throw new SchedulerException("The Scheduler cannot be restarted after shutdown() has been called."); } if (initialStart == null) { initialStart = new Date(); quartzSchedulerResources.getJobStore().schedulerStarted(); startPlugins(); } this.quartzSchedulerThread.togglePause(false); logger.info("Scheduler started."); notifySchedulerListenersStarted(); }
/** * Starts the <code>QuartzScheduler</code>'s threads that fire <code> * {@link org.quartz.triggers.Trigger}s</code>. * * <p>All <code>{@link org.quartz.triggers.Trigger}s</code> that have misfired will be passed to * the appropriate TriggerListener(s). */ @Override public void start() throws SchedulerException { if (shuttingDown || closed) { throw new SchedulerException( "The Scheduler cannot be restarted after shutdown() has been called."); } if (initialStart == null) { initialStart = new Date(); quartzSchedulerResources.getJobStore().schedulerStarted(); startPlugins(); } this.quartzSchedulerThread.togglePause(false); logger.info("Scheduler started."); notifySchedulerListenersStarted(); }
/** * <p> * Starts the <code>QuartzScheduler</code>'s threads that fire <code>{@link org.quartz.triggers.Trigger}s</code>. * </p> * <p> * All <code>{@link org.quartz.triggers.Trigger}s</code> that have misfired will be passed to the appropriate TriggerListener(s). * </p> */ @Override public void start() throws SchedulerException { if (shuttingDown || closed) { throw new SchedulerException("The Scheduler cannot be restarted after shutdown() has been called."); } if (initialStart == null) { initialStart = new Date(); quartzSchedulerResources.getJobStore().schedulerStarted(); startPlugins(); } this.quartzSchedulerThread.togglePause(false); logger.info("Scheduler started."); notifySchedulerListenersStarted(); }
/** * <p> * Starts the <code>QuartzScheduler</code>'s threads that fire <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * All <code>{@link org.quartz.Trigger}s</code> that have misfired will * be passed to the appropriate TriggerListener(s). * </p> */ public void start() throws SchedulerException { if (shuttingDown|| closed) { throw new SchedulerException( "The Scheduler cannot be restarted after shutdown() has been called."); } if (initialStart == null) { initialStart = new Date(); this.resources.getJobStore().schedulerStarted(); startPlugins(); } schedThread.togglePause(false); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " started."); }
/** * <p> * Starts the <code>QuartzScheduler</code>'s threads that fire <code>{@link org.quartz.Trigger}s</code>. * </p> * * <p> * All <code>{@link org.quartz.Trigger}s</code> that have misfired will * be passed to the appropriate TriggerListener(s). * </p> */ public void start() throws SchedulerException { if (shuttingDown|| closed) { throw new SchedulerException( "The Scheduler cannot be restarted after shutdown() has been called."); } if (initialStart == null) { initialStart = new Date(); this.resources.getJobStore().schedulerStarted(); startPlugins(); } schedThread.togglePause(false); getLog().info( "Scheduler " + resources.getUniqueIdentifier() + " started."); }