Package com.pardot.rhombus

Examples of com.pardot.rhombus.ConnectionManager.teardown()


    for(int i = 0 ; i < 100 ; i++) {
      insertObjectSetAsync(numThreads, executorService, om, values, objectAuditDef);
    }
    logger.warn("Total time: {}ms", System.currentTimeMillis() - startTime);

    cm.teardown();
  }

  private void insertObjectSetAsync(int numThreads, ExecutorService executorService, final ObjectMapper om, final List<Map<String, Object>> values, final CDefinition objectAuditDef) {
    final CountDownLatch latch = new CountDownLatch(numThreads);
    for(int i = 0 ; i < numThreads ; i++) {
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.