public abstract class AbstractGeneralCSVExporter extends AbstractMonitoringDataExporter
Constructor and Description |
---|
AbstractGeneralCSVExporter(PipeMonitoringService pipeMonitoringService,
SingleTaskFarmMonitoringService taskFarmMonitoringService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
extractToWriter(Writer writer)
Writes the formatted monitored data to a
Writer . |
protected abstract void |
writeCSVData(Writer writer,
List<TaskFarmMonitoringData> monitoredDataValues)
Write and format CSV data to the specified
Writer using the monitoring measurements. |
addCSVLineToWriter, extractToFile, extractToFile, extractToString, getPipeMonitoringService, getTaskFarmMonitoringService
public AbstractGeneralCSVExporter(PipeMonitoringService pipeMonitoringService, SingleTaskFarmMonitoringService taskFarmMonitoringService)
pipeMonitoringService
- monitoring service concerning pipestaskFarmMonitoringService
- monitoring service concerning a task farmprotected final void extractToWriter(Writer writer)
AbstractMonitoringDataExporter
Writer
.extractToWriter
in class AbstractMonitoringDataExporter
writer
- writer to be written toprotected abstract void writeCSVData(Writer writer, List<TaskFarmMonitoringData> monitoredDataValues)
Writer
using the monitoring measurements.writer
- writer to be written tomonitoredDataValues
- monitored measurementsCopyright © 2015–2020. All rights reserved.