213214215216217218219220221222223
@Override protected void _processEvent(InjectionEventI event, Object... args) { if (event == InjectionEvent.FSNAMESYSTEM_STOP_MONITOR) { Daemon monitor = (Daemon) args[0]; if (monitor != null && monitor.isAlive()) { monitor.interrupt(); } } } }