Class AbstractMeasurementsDaoImpl<V,Q extends javax.measure.quantity.Quantity>
- java.lang.Object
-
- org.palladiosimulator.edp2.dao.impl.Edp2DaoImpl
-
- org.palladiosimulator.edp2.dao.impl.AbstractMeasurementsDaoImpl<V,Q>
-
- All Implemented Interfaces:
Edp2Dao
,MeasurementsDao<V,Q>
- Direct Known Subclasses:
FileBinaryMeasurementsDaoImpl
,MemoryBinaryMeasurementsDaoImpl
public abstract class AbstractMeasurementsDaoImpl<V,Q extends javax.measure.quantity.Quantity> extends Edp2DaoImpl implements MeasurementsDao<V,Q>
Abstract base class for all DAO implementations which manage persisted measurements.
-
-
Constructor Summary
Constructors Constructor Description AbstractMeasurementsDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.-
Methods inherited from class org.palladiosimulator.edp2.dao.impl.Edp2DaoImpl
canClose, canDelete, canOpen, close, delete, isDeleted, isOpen, open, setClosed, setDeleted, setOpen
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.edp2.dao.Edp2Dao
canClose, canDelete, canOpen, close, delete, flush, isDeleted, isOpen, open
-
Methods inherited from interface org.palladiosimulator.edp2.dao.MeasurementsDao
getMeasurements
-
-
-
-
Method Detail
-
deserialize
public void deserialize(org.eclipse.net4j.util.io.ExtendedDataInputStream input) throws DataNotAccessibleException
Description copied from interface:MeasurementsDao
Deserialize the data from an input stream. Used to transfer Measurements to and from remote locations.- Specified by:
deserialize
in interfaceMeasurementsDao<V,Q extends javax.measure.quantity.Quantity>
- Parameters:
input
- Input data stream.- Throws:
DataNotAccessibleException
-
serialize
public void serialize(org.eclipse.net4j.util.io.ExtendedDataOutputStream output) throws DataNotAccessibleException
Description copied from interface:MeasurementsDao
Serialize the data to an output stream. Used to transfer Measurements to and from remote locations.- Specified by:
serialize
in interfaceMeasurementsDao<V,Q extends javax.measure.quantity.Quantity>
- Parameters:
output
- Output data stream- Throws:
DataNotAccessibleException
-
-