public synchronized void stop() { // Ignore if not active if (active == false) return; log.debug("stop: " + objectName + ",now=" + new Date()); // Stop the threads active = false; scheduler.stop(); }
public synchronized void stop() { // Ignore if not active if (active == false) return; log.debug("stop: " + objectName + ",now=" + new Date()); // Stop the threads active = false; scheduler.stop(); }