@Override public void stop() throws SchedulingException { if (this.scheduler != null) { try { this.scheduler.standby(); } catch (SchedulerException ex) { throw new SchedulingException("Could not stop Quartz Scheduler", ex); } } }
@Override public void stop() throws SchedulingException { if (this.scheduler != null) { try { this.scheduler.standby(); } catch (SchedulerException ex) { throw new SchedulingException("Could not stop Quartz Scheduler", ex); } } }
public void stop() { try { this.scheduler.standby(); } catch (SchedulerException e) { throw new RuntimeException("Could not shutdown house keeping scheduler!"); } }
public void stop() { try { this.scheduler.standby(); } catch (SchedulerException e) { throw new RuntimeException("Could not shutdown house keeping scheduler!"); } }
@Override public void stop(ComponentContext context) { try { scheduler.standby(); } catch (SchedulerException cause) { log.error("Cannot put scheduler in stand by mode", cause); } }
@Override public synchronized void standby() { try { scheduler.standby(); } catch (Exception e) { logger.warn("Exception during the standby of the Quartz!", e); } }
public void standby() { try { scheduler.standby(); logger.info("schedule service change to standby mode success."); } catch (Exception e) { logger.error("schedule service change to standby mode failed.", e); } } }
@Override public synchronized void stop() { try { scheduler.standby(); log.info("Alarm Service stopped successfully."); } catch (SchedulerException e) { log.error("Failed to shut down the Quartz Scheduler for AlarmService.", e); } }
/** * <p>standBy</p> * * @throws org.quartz.SchedulerException if any. */ public void standBy() throws SchedulerException { getScheduler().standby(); }
public void standby() { try { scheduler.standby(); } catch (SchedulerException e) { throw new QuartzRuntimeException(e); } }
public void standby() { try { scheduler.standby(); } catch (final SchedulerException e) { throw new QuartzSchedulerException(e); } }
/** * <p>standBy</p> * * @throws org.quartz.SchedulerException if any. */ public void standBy() throws SchedulerException { getScheduler().standby(); }
@Override public void stop() throws SchedulingException { if (this.scheduler != null) { try { this.scheduler.standby(); } catch (SchedulerException ex) { throw new SchedulingException("Could not stop Quartz Scheduler", ex); } } }
/** {@inheritDoc} */ public void stop() throws SchedulerException { boolean performShutdown = Boolean.valueOf(configProperties.getProperty("performShutdown", DEFAULT_PERFORM_SHUTDOWN)).booleanValue(); if (!performShutdown) { return; } if (SundialJobScheduler.getScheduler() != null) { SundialJobScheduler.getScheduler().standby(); } LOG.info("Sundial Scheduler shutdown successfully."); }
public RuleTriggerManager(Injector injector) { try { scheduler = StdSchedulerFactory.getDefaultScheduler(); scheduler.setJobFactory(injector.getInstance(GuiceAwareJobFactory.class)); // we want to defer timer rule execution until after the startup rules have been executed. scheduler.standby(); } catch (SchedulerException e) { logger.error("initializing scheduler throws exception", e); } }
/** {@inheritDoc} */ public void pause() throws SchedulerException { try { getQuartzScheduler().standby(); } catch ( org.quartz.SchedulerException e ) { throw new SchedulerException( e ); } }
void standby() throws SchedulerServiceException { try { getScheduler().standby(); } catch (SchedulerException se) { throw checked("Quartz scheduler refused to enter standby mode", se); } }
@Override public void standby() throws QuartzException { try { delegate.standby(); } catch (SchedulerException e) { Logger.error(e.getMessage()); throw new QuartzException(e); } }
@Override public void standby() throws QuartzException { try { delegate.standby(); } catch (SchedulerException e) { Logger.error(e.getMessage()); throw new QuartzException(e); } }
void pauseScheduler(OperationResult result) { LOGGER.info("Putting Quartz scheduler into standby mode"); try { getQuartzScheduler().standby(); result.recordSuccess(); } catch (SchedulerException e1) { LoggingUtils.logUnexpectedException(LOGGER, "Couldn't put local Quartz scheduler into standby mode", e1); result.recordFatalError("Couldn't put local Quartz scheduler into standby mode", e1); } }