Package org.palladiosimulator.edp2.dao
Interface MeasurementsDao<V,Q extends javax.measure.quantity.Quantity>
- All Superinterfaces:
Edp2Dao
- All Known Subinterfaces:
BinaryMeasurementsDao<V,
,Q> JScienceXmlMeasurementsDao<V,
Q>
- All Known Implementing Classes:
AbstractMeasurementsDaoImpl
,FileBinaryMeasurementsDaoImpl
,MemoryBinaryMeasurementsDaoImpl
Interface for the access to any measurement data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deserialize
(org.eclipse.net4j.util.io.ExtendedDataInputStream input) Deserialize the data from an input stream.void
serialize
(org.eclipse.net4j.util.io.ExtendedDataOutputStream output) Serialize the data to an output stream.
-
Method Details
-
serialize
void serialize(org.eclipse.net4j.util.io.ExtendedDataOutputStream output) throws DataNotAccessibleException Serialize the data to an output stream. Used to transfer Measurements to and from remote locations.- Parameters:
output
- Output data stream- Throws:
DataNotAccessibleException
-
deserialize
void deserialize(org.eclipse.net4j.util.io.ExtendedDataInputStream input) throws DataNotAccessibleException Deserialize the data from an input stream. Used to transfer Measurements to and from remote locations.- Parameters:
input
- Input data stream.- Throws:
DataNotAccessibleException
-
getMeasurements
- Returns:
- Observed measurements.
-