public class PipeMonitoringService extends Object implements IMonitoringService<IMonitorablePipe,PipeMonitoringData>
IMonitorablePipe
.Modifier and Type | Class and Description |
---|---|
class |
PipeMonitoringService.PipeMonitoringDataContainer
Represents a measurement that contains data for each monitored pipe.
|
class |
PipeMonitoringService.ValueWithId<T>
Represents a value-id-pair.
|
Constructor and Description |
---|
PipeMonitoringService()
Creates a new general pipe monitoring service.
|
PipeMonitoringService(TaskFarmHistoryService<?,?,?> history)
Creates a new pipe monitoring service for task farms using a specified
history service to access throughput measurements.
|
Modifier and Type | Method and Description |
---|---|
void |
addMonitoredItem(IMonitorablePipe pipe)
Add object to list of monitored elements.
|
void |
doMeasurement()
Adds a new measurement.
|
List<PipeMonitoringService.PipeMonitoringDataContainer> |
getData() |
List<IMonitorablePipe> |
getPipes() |
public PipeMonitoringService(TaskFarmHistoryService<?,?,?> history)
history
- specified history servicepublic PipeMonitoringService()
public List<PipeMonitoringService.PipeMonitoringDataContainer> getData()
getData
in interface IMonitoringService<IMonitorablePipe,PipeMonitoringData>
public void addMonitoredItem(IMonitorablePipe pipe)
IMonitoringService
addMonitoredItem
in interface IMonitoringService<IMonitorablePipe,PipeMonitoringData>
pipe
- object to be monitoredpublic void doMeasurement()
IMonitoringService
doMeasurement
in interface IMonitoringService<IMonitorablePipe,PipeMonitoringData>
public List<IMonitorablePipe> getPipes()
Copyright © 2015–2020. All rights reserved.