Package net.simplace.sim.io.interfaces
Class MEMORYInterface
java.lang.Object
net.simplace.sim.io.interfaces.FWSimInterface<FWSimResultCache>
net.simplace.sim.io.interfaces.MEMORYInterface
implementation of the
giving access to output as memory representation. Most performing way to
organize output that does not have to be written.
FWSimInterface- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class net.simplace.sim.io.interfaces.FWSimInterface
FWSimInterface.INTERFACE_TYPE -
Field Summary
Fields inherited from class net.simplace.sim.io.interfaces.FWSimInterface
iColumnMap, iColumnNamesInt, iIntColumnNames -
Constructor Summary
ConstructorsConstructorDescriptionMEMORYInterface(String aName, int aPoolSize) MEMORYInterface(String aName, org.jdom2.Element aInterfaceElement) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalize()getInterface(FWSimVarMap aVarMap, FWSimVariable.CONTENT_TYPE aContentType) implementation of the get interface method.read(FWSimSession aFwSimSession, String aProjectID, Object aCache, LinkedHashMap<String, String> aKeyMap, FWSimInputAdapter aResourceAdapter, String aUniqueID, FWSimInterface.INTERFACE_TYPE aInterfaceType) factory method creating an interface instance concerning the given data typeorg.jdom2.ElementtoXML()Methods inherited from class net.simplace.sim.io.interfaces.FWSimInterface
checkHeaderForColMode, createInterface, createInterface, createStatisticInterface, getInterfaceType, getName, getPoolSize, readColArray, toString, transformArrays, writeToDatabase
-
Constructor Details
-
MEMORYInterface
- Parameters:
aName-aPoolSize-aInterfaceElement-
-
MEMORYInterface
- Parameters:
aName-aInterfaceElement-
-
-
Method Details
-
getInterface
implementation of the get interface method.- Specified by:
getInterfacein classFWSimInterface<FWSimResultCache>- Returns:
- generic interface connection object. for example: database - connection; xml - fileinfo
- See Also:
-
toXML
public org.jdom2.Element toXML()- Overrides:
toXMLin classFWSimInterface<FWSimResultCache>- Returns:
- Element containing configuration for this Interface
-
finalize
- Specified by:
finalizein classFWSimInterface<FWSimResultCache>- Throws:
Exception- See Also:
-
read
public FWSimResourceCache read(FWSimSession aFwSimSession, String aProjectID, Object aCache, LinkedHashMap<String, String> aKeyMap, FWSimInputAdapter aResourceAdapter, String aUniqueID, FWSimInterface.INTERFACE_TYPE aInterfaceType) throws MissingSimResourceExceptionDescription copied from class:FWSimInterfacefactory method creating an interface instance concerning the given data type- Specified by:
readin classFWSimInterface<FWSimResultCache>- Returns:
- generic
FWSimResourceCache - Throws:
MissingSimResourceException
-