changed to hostmanager-aware taskQueue

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
cmarschner 2002-10-22 15:03:31 +00:00
parent b6243a3cbe
commit aaffb3ed75
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class Fetcher implements MessageListener
FetcherTask.setDocStorage(docStorage); FetcherTask.setDocStorage(docStorage);
FetcherTask.setLinkStorage(linkStorage); FetcherTask.setLinkStorage(linkStorage);
fetcherPool = new ThreadPool(maxThreads, new FetcherThreadFactory(hostManager)); fetcherPool = new ThreadPool(maxThreads, new FetcherThreadFactory(hostManager));
fetcherPool.setQueue(new FetcherTaskQueue()); fetcherPool.setQueue(new FetcherTaskQueue(hostManager));
docsRead = 0; docsRead = 0;
this.hostManager = hostManager; this.hostManager = hostManager;
} }