public class StackedTimePullThroughput2D extends AbstractStackedCSVExporter
Constructor and Description |
---|
StackedTimePullThroughput2D(PipeMonitoringService pipeMonitoringService,
SingleTaskFarmMonitoringService taskFarmMonitoringService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addLineOfValuesToCSV(Writer writer,
int maxNumberOfPipes,
PipeMonitoringService.PipeMonitoringDataContainer container)
Adds a line of values, separated by commas, to the
Writer . |
protected void |
createHeader(Writer writer,
int maxNumberOfStages)
Creates the header of a CSV file.
|
extractToWriter, fillNullValuesWithZeros
addCSVLineToWriter, extractToFile, extractToFile, extractToString, getPipeMonitoringService, getTaskFarmMonitoringService
public StackedTimePullThroughput2D(PipeMonitoringService pipeMonitoringService, SingleTaskFarmMonitoringService taskFarmMonitoringService)
pipeMonitoringService
- monitoring service concerning pipestaskFarmMonitoringService
- monitoring service concerning a task farmprotected void addLineOfValuesToCSV(Writer writer, int maxNumberOfPipes, PipeMonitoringService.PipeMonitoringDataContainer container) throws IOException
AbstractStackedCSVExporter
Writer
.addLineOfValuesToCSV
in class AbstractStackedCSVExporter
writer
- writer to be written tomaxNumberOfPipes
- maximum amount of pipes monitoredcontainer
- pipe measurement containerIOException
protected void createHeader(Writer writer, int maxNumberOfStages) throws IOException
AbstractStackedCSVExporter
createHeader
in class AbstractStackedCSVExporter
writer
- writer for the header to be written tomaxNumberOfStages
- maximal number of stages of task farm measurementsIOException
Copyright © 2015–2020. All rights reserved.