Package com.opengamma.engine.cache

Examples of com.opengamma.engine.cache.BerkeleyDBBinaryDataStore.stop()


    double putsPerSecond = 1000.0 / msPerPut;
   
    s_logger.info("for {} entries, {} ms/put, {} puts/sec", new Object[] {numEntries, msPerPut, putsPerSecond});
   
    dataStore.delete();
    dataStore.stop();
    dbEnvironment.close();
  }

  public void getPerformanceTest() {
    final int numEntries = 500;
View Full Code Here


    double getsPerSecond = 1000.0 / msPerGet;
   
    s_logger.info("for {} gets, {} ms/get, {} gets/sec", new Object[] {numGets, msPerGet, getsPerSecond});
   
    dataStore.delete();
    dataStore.stop();
    dbEnvironment.close();
  }
 
  public void parallelPutGetTest() throws InterruptedException {
    final int numEntries = 5000;
View Full Code Here

    //tGet3.join();
    //tGet4.join();
    //tGet5.join();
   
    dataStore.delete();
    dataStore.stop();
    dbEnvironment.close();
  }
}
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.