@Override public void stop() throws Exception { if (this.started.compareAndSet(true, false)) { if (this.store != null) { this.store.stop(); } if (this.scheduler != null) { this.scheduler.removeListener(this); this.scheduler = null; } } super.stop(); }
jobSchedulerStore.stop(); jobSchedulerStore = null;
@Override public void stop() throws Exception { if (this.started.compareAndSet(true, false)) { if (this.store != null) { this.store.stop(); } if (this.scheduler != null) { this.scheduler.removeListener(this); this.scheduler = null; } } super.stop(); }
@Override public void stop() throws Exception { if (this.started.compareAndSet(true, false)) { if (this.store != null) { this.store.stop(); } if (this.scheduler != null) { this.scheduler.removeListener(this); this.scheduler = null; } } super.stop(); }
@Override public void stop() throws Exception { if (this.started.compareAndSet(true, false)) { if (this.store != null) { this.store.stop(); } if (this.scheduler != null) { this.scheduler.removeListener(this); this.scheduler = null; } } super.stop(); }
@Override public void stop() throws Exception { if (this.started.compareAndSet(true, false)) { if (this.store != null) { this.store.stop(); } if (this.scheduler != null) { this.scheduler.removeListener(this); this.scheduler = null; } } super.stop(); }
jobSchedulerStore.stop(); jobSchedulerStore = null;
jobSchedulerStore.stop(); jobSchedulerStore = null;
jobSchedulerStore.stop(); jobSchedulerStore = null;
LOG.error(this.name + " Failed to schedule job", ioe); try { this.store.stop(); } catch (Exception e) { LOG.error(this.name + " Failed to shutdown JobSchedulerStore", e);