File
Doc
Category
Size
Date
Package
CountingSearchTestTask.java
API Doc
Apache Lucene 2.2.0
1347
Sat Jun 16 22:20:58 BST 2007
org.apache.lucene.benchmark.byTask.tasks
CountingSearchTestTask
java.lang.Object
SearchTask
public class CountingSearchTestTask extends SearchTask
Test Search task which counts number of searches.
Fields Summary
public static int
numSearches
Constructors Summary
public CountingSearchTestTask
(
org.apache.lucene.benchmark.byTask.PerfRunData
runData)
super(runData);
Methods Summary
public
int
doLogic
()
int res = super.doLogic(); incrNumSearches(); return res;
private static synchronized void
incrNumSearches
()
numSearches++;
Java Code Source