private void init() {
		try {
			log.info(Utils.currentDate() + "");
			log.info(Utils.currentDate()
				+ "  --------------------------------------------------");
			log.info(Utils.currentDate() + "  Monitoring tool started");
			log.info(Utils.currentDate()
				+ "  --------------------------------------------------");

			propertiesHelper = new PropertiesHelper("/monitoring.properties");

			nodesController = new NodesController(propertiesHelper, locators,
				timeout);

			nodesController.addNodeEventHandler(new LoggerNodeEventHandler());

			for (NodeEventHandler handler : customEventHandlersList) {
				nodesController.addNodeEventHandler(handler);
			}

			timer = new Timer();
		} catch (Throwable t) {
			Utils.exitWithFailure("Throwable caught during the initialization",
				t);
		}
	}
private void init() {
		try {
			log.info(Utils.currentDate() + "");
			log.info(Utils.currentDate()
				+ "  --------------------------------------------------");
			log.info(Utils.currentDate() + "  Monitoring tool started");
			log.info(Utils.currentDate()
				+ "  --------------------------------------------------");

			propertiesHelper = new PropertiesHelper("/monitoring.properties");

			nodesController = new NodesController(propertiesHelper, locators,
				timeout);

			nodesController.addNodeEventHandler(new LoggerNodeEventHandler());

			for (NodeEventHandler handler : customEventHandlersList) {
				nodesController.addNodeEventHandler(handler);
			}

			timer = new Timer();
		} catch (Throwable t) {
			Utils.exitWithFailure("Throwable caught during the initialization",
				t);
		}
	}
private void init ( ) { try { log . info ( Utils . currentDate ( ) + "" ) ; log . info ( Utils . currentDate ( ) + "  --------------------------------------------------" ) ; log . info ( Utils . currentDate ( ) + "  Monitoring tool started" ) ; log . info ( Utils . currentDate ( ) + "  --------------------------------------------------" ) ; propertiesHelper = new PropertiesHelper ( "/monitoring.properties" ) ; nodesController = new NodesController ( propertiesHelper , locators , timeout ) ; nodesController . addNodeEventHandler ( new LoggerNodeEventHandler ( ) ) ; for ( NodeEventHandler handler : customEventHandlersList ) { nodesController . addNodeEventHandler ( handler ) ; } timer = new Timer ( ) ; } catch ( Throwable t ) { Utils . exitWithFailure ( "Throwable caught during the initialization" , t ) ; } }
configuration
configuration