@Override protected final void cleanup() { LOGGER.info("Shutting down Monitoring Controller ({})", this.getName()); // this.saveMetadataAsRecord(); this.probeController.terminate(); this.timeSourceController.terminate(); this.writerController.terminate(); this.jmxController.terminate(); this.tcpController.terminate(); this.samplingController.terminate(); this.stateController.terminate(); }
@Override protected final void cleanup() { LOG.info("Shutting down Monitoring Controller (" + this.getName() + ")"); // this.saveMetadataAsRecord(); this.probeController.terminate(); this.timeSourceController.terminate(); this.writerController.terminate(); this.jmxController.terminate(); this.samplingController.terminate(); this.stateController.terminate(); }
/** * This method sends the meta data (like the controller and host name, the experiment ID, etc.) as a record. * * @return true on success; false in case of an error. */ @Override public final boolean sendMetadataAsRecord() { final ITimeSource timesource = this.getTimeSource(); return this.newMonitoringRecord(new KiekerMetadataRecord( null, // Kieker version will be filled in this.getName(), // controllerName this.getHostname(), // hostname this.getExperimentId(), // experimentId this.isDebug(), // debugMode timesource.getOffset(), // timeOffset timesource.getTimeUnit().name(), // timeUnit 0 // number of inserts (0 since not supported anymore) )); }
/** * This method sends the meta data (like the controller and host name, the * experiment ID, etc.) as a record. * * @return true on success; false in case of an error. */ @Override public final boolean sendMetadataAsRecord() { final ITimeSource timesource = this.getTimeSource(); return this.newMonitoringRecord(new KiekerMetadataRecord(null, // Kieker version will be filled in this.getName(), // controllerName this.getHostname(), // hostname this.getExperimentId(), // experimentId this.isDebug(), // debugMode timesource.getOffset(), // timeOffset timesource.getTimeUnit().name(), // timeUnit 0 // number of inserts (0 since not supported anymore) )); }