Package org.jamesii.perfdb

Examples of org.jamesii.perfdb.IPerformanceDatabase.open()


   */
  public static void main(String[] args) {

    try {
      IPerformanceDatabase perfDB = SimSpExPerspective.getPerformanceDataBase();
      perfDB.open();

      List<IProblemDefinition> problems = perfDB.getAllProblemDefinitions();
      List<IRuntimeConfiguration> configs = null;
      SimSystem.report(Level.INFO, "#problems:" + problems.size());
      for (IProblemDefinition problem : problems) {
View Full Code Here


   */
  protected void startExtraction() {
    SimSystem.report(Level.INFO, "Starting extraction...");
    try {
      IPerformanceDatabase perfDB = SimSpExPerspective.getPerformanceDataBase();
      perfDB.open();
      FeatureExtraction fExtraction = new FeatureExtraction(perfDB);
      FeatureExtraction.refreshFeatureExtractors(perfDB);
      fExtraction.extractFeatures();
    } catch (Exception ex) {
      SimSystem.report(Level.SEVERE, null, ex.getMessage(), null, ex);
View Full Code Here

              .getFactory(AbstractPerfDBFactory.class, null)
              .create(
                  new ParameterBlock(connectionData,
                      PerfDBFactory.CONNECTION_DATA), SimSystem.getRegistry().createContext());

      performanceDatabase.open();

      // This is necessary in case the Hibernate driver removes all
      // 'competing' loggers, as the one from HSQLDB does
      ApplicationLogger.reattachLogger();
    } catch (Exception ex) {
View Full Code Here

  public IPerformanceDatabase getDataBase(DBConnectionData dbConn)
      throws Exception {
    IPerformanceDatabase perfDB = (new HibernatePerfDBFactory())
        .create(new ParameterBlock(dbConn,
            PerfDBFactory.CONNECTION_DATA), SimSystem.getRegistry().createContext());
    perfDB.open();
    return perfDB;
  }

}
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.