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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(org.eclipse.net4j.util.io.ExtendedDataInputStream input) Deserialize the data from an input stream.voidserialize(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, setOpenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.palladiosimulator.edp2.dao.Edp2Dao
canClose, canDelete, canOpen, close, delete, flush, isDeleted, isOpen, openMethods inherited from interface org.palladiosimulator.edp2.dao.MeasurementsDao
getMeasurements
-
Constructor Details
-
AbstractMeasurementsDaoImpl
public AbstractMeasurementsDaoImpl()
-
-
Method Details
-
deserialize
public void deserialize(org.eclipse.net4j.util.io.ExtendedDataInputStream input) throws DataNotAccessibleException Description copied from interface:MeasurementsDaoDeserialize the data from an input stream. Used to transfer Measurements to and from remote locations.- Specified by:
deserializein 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:MeasurementsDaoSerialize the data to an output stream. Used to transfer Measurements to and from remote locations.- Specified by:
serializein interfaceMeasurementsDao<V,Q extends javax.measure.quantity.Quantity> - Parameters:
output- Output data stream- Throws:
DataNotAccessibleException
-