@Override protected void startUp() throws IOException { super.startUp(); if (this.pathAlterationDetector != null) { this.pathAlterationDetector.start(); } }
throws Exception { SchedulerUtils.addPathAlterationObserver(this.pathAlterationDetector, this.listener, jobConfigFileDirPath); this.pathAlterationDetector.start(); this.closer.register(new Closeable() { @Override
new Path(this.jobConfigDir.getPath())); try { detector.start();
monitor.start();
@Override protected void startUp() throws IOException { super.startUp(); if (this.pathAlterationDetector != null) { this.pathAlterationDetector.start(); } }
throws Exception { SchedulerUtils.addPathAlterationObserver(this.pathAlterationDetector, this.listener, jobConfigFileDirPath); this.pathAlterationDetector.start(); this.closer.register(new Closeable() { @Override