Package com.flaptor.hounder.searcher

Examples of com.flaptor.hounder.searcher.RmiSearcherStub


        int maxThreadsPerSearcher = (workerThreads * 2 / hosts.length) + 1 ;
        logger.info("init: setting maxThreadsPerSearcher to " + maxThreadsPerSearcher);

        for (int i = 0; i < hosts.length; i++) {
            Pair<String, Integer> host = PortUtil.parseHost(hosts[i]);
            searchers.add(new RmiSearcherStub(host.last(), host.first(), policy, maxThreadsPerSearcher));
            searcherIPs.add(host.first());
        }
        timeout = config.getLong("multiSearcher.timeout");
        logger.info("init: timeout set to " + timeout + "ms (from config file).");
        multiQueryExecutor = new MultiExecutor<GroupedSearchResults>(workerThreads, "multiSearcher");
View Full Code Here

TOP

Related Classes of com.flaptor.hounder.searcher.RmiSearcherStub

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.