Package org.openntf.domino

Examples of org.openntf.domino.DocumentCollection.removeAll()


      Database source = s.getDatabase("", SOURCE, true);

      System.out.println("-- START --");
      long start = System.nanoTime();
      DocumentCollection dc = source.getAllDocuments();
      dc.removeAll(true);
      long elapsed = System.nanoTime() - start;
      System.out.println("-- STOP --");

      System.out.println("Thread " + Thread.currentThread().getName() + " elapsed time: " + elapsed / 1000000 + "ms");
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.