Package com.browseengine.bobo.perf.BrowseThread

Examples of com.browseengine.bobo.perf.BrowseThread.Stats


          for (int docid : docsToFetch) {

            long start = System.nanoTime();
            _idxReader.document(docid);
            long end = System.nanoTime();
            _collector.collect(new Stats((end - start), null));
          }
        } catch (Exception e) {
          e.printStackTrace();
          _collector.collect(new Stats(0L, e));
        }
        try {
          Thread.sleep(_throttleWait);
        } catch (InterruptedException e) {
          e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.perf.BrowseThread.Stats

Copyright © 2018 www.massapicom. 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.