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
public interface MeasurementsDao<V,Q extends javax.measure.quantity.Quantity> extends Edp2Dao
Interface for the access to any measurement data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deserialize(org.eclipse.net4j.util.io.ExtendedDataInputStream input)
Deserialize the data from an input stream.List<javax.measure.Measure<V,Q>>
getMeasurements()
void
serialize(org.eclipse.net4j.util.io.ExtendedDataOutputStream output)
Serialize the data to an output stream.
-
-
-
Method Detail
-
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
-
-