|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--feynman.framework.datastore.DataStoreFactory
Factory class for the creation of particular DataStore implementation. The frameworkd currently supports the DataStoreFile implementation only.
Method Summary | |
DataStore |
create(java.lang.String type)
Method to create the DataStore object that has been specified in the Simulation.properties file in the following manner: |
static DataStoreFactory |
getInstance()
Method to retrieve an instance of the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DataStoreFactory getInstance()
public DataStore create(java.lang.String type) throws InvalidDataStoreException
# Define the data storage mechanism to be used. DataStore=file #DataStore=dbms # Define the data source destination that the measurement data will be stored in. DataStoreFile=data.csv #DataStoreTable=table
Note: If an invalid data store is defined in the properties file the Controller class will throw and InvalidDataStoreException.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |