Package org.jamesii.core.data.storage.plugintype

Examples of org.jamesii.core.data.storage.plugintype.DataStorageFactory.create()


      try {
        dsf = dsFactory.newInstance();
      } catch (Exception ex) {
        throw new IllegalArgumentException(ex);
      }
      dataStorage = dsf.create(dsParameters, SimSystem.getRegistry().createContext());
    }
  }

  /**
   * Gets the exp id.
View Full Code Here


          SimSystem.getRegistry().instantiateFactory(dataStorageFactoryClass);

      // If data storage factory could be instantiated, use it to create a data
      // storage
      if (dsFactory != null) {
        IDataStorage dataStorage = dsFactory.create(dataStorageParameters, SimSystem.getRegistry().createContext());
        dataStorage.setExperimentID(experimentID);
        dataStorage.setConfigurationID(experimentID, configurationID);
        dataStorage.setComputationTaskID(experimentID, configurationID,
            taskID.getId());
        return dataStorage;
View Full Code Here

      dsf = facClass.newInstance();
    } catch (InstantiationException | IllegalAccessException ex) {
      throw new DatabaseCreationException(ex);
    }

    storage = dsf.create(rI.getDataStorageParams(), SimSystem.getRegistry().createContext());
    storage.setExperimentID(rI.getExpID());
  }

  @Override
  public int sufficientReplications(List<RunInformation> runInformation) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.