org.nuiton.wikitty.perftest
Class PerfTestLabelSearch

java.lang.Object
  extended by org.nuiton.wikitty.perftest.PerfTestLabelSearch

public class PerfTestLabelSearch
extends Object


Constructor Summary
PerfTestLabelSearch()
           
 
Method Summary
static void searchLabel(WikittyProxy proxy, List<String> ids, int loopsToAvg, int threadsNb)
          Searches all labels applied to a wikitty and then retrieves the wikitties associated with these labels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfTestLabelSearch

public PerfTestLabelSearch()
Method Detail

searchLabel

public static void searchLabel(WikittyProxy proxy,
                               List<String> ids,
                               int loopsToAvg,
                               int threadsNb)
Searches all labels applied to a wikitty and then retrieves the wikitties associated with these labels

Parameters:
proxy - : the WikittyProxy to search in
ids - : the wikitties ids to search labels on
loopsToAvg - : the number of times the searches will be made in order to give a more accurate result
threadsNb - : the number of threads that will be created to do a part of the search


Copyright © 2010 CodeLutin. All Rights Reserved.