agave-monitors/monitors-core/src/main/java/org/iplantc/service/monitor/managers/MonitorManager.java
/**
	 * Sets {@link Monitor#isActive()} to false for the given {@code monitor}. A {@link MonitorEventType#DISABLED}
	 * event is raised.
	 * @param monitor the monitor to disable
	 */
Sets  Monitor#isActive() to false for the given  monitor. A  MonitorEventType#DISABLED
event is raised.
@param monitor the monitor to disable
Sets Monitor#isActive () to false for the given monitor . A MonitorEventType#DISABLED event is raised . @param monitor the monitor to disable
protected void disableMonitor(Monitor monitor) {
		try {
			monitor.setActive(false);
			monitor.setLastUpdated(new Date());
			getMonitorDao().persist(monitor);
		} catch (Exception e) {
			log.error("Failed to disable monitor " + monitor.getUuid() + " after system was found unavailable", e);
		} finally {
			eventProcessor.processContentEvent(monitor, MonitorEventType.DISABLED, monitor.getOwner());
		}
	}
protected void disableMonitor ( Monitor monitor ) { try { monitor . setActive ( false ) ; monitor . setLastUpdated ( new Date ( ) ) ; getMonitorDao ( ) . persist ( monitor ) ; } catch ( Exception e ) { log . error ( "Failed to disable monitor " + monitor . getUuid ( ) + " after system was found unavailable" , e ) ; } finally { eventProcessor . processContentEvent ( monitor , MonitorEventType . DISABLED , monitor . getOwner ( ) ) ; } }
Sets {@link Monitor#isActive()} to false for the given {@code monitor}.
Sets { @link Monitor#isActive () } to false for the given { @code monitor } .