Package org.archive.wayback.liveweb

Examples of org.archive.wayback.liveweb.LiveRobotsNoCache


    } catch (Exception e) {
      e.printStackTrace();
    }
   
    // Init Live Web
    LiveRobotsNoCache liveweb = new LiveRobotsNoCache();
    liveweb.setMaxRobotsSize(Integer.parseInt(props.getProperty("liveweb.maxRobotsSize", "512000")));
    liveweb.setMaxHostConnections(Integer.parseInt(props.getProperty("liveweb.maxHostConn", "500")));
    int maxTotalConn = Integer.parseInt(props.getProperty("liveweb.maxTotalConn", "500"));
    liveweb.setMaxTotalConnections(maxTotalConn);
    //liveweb.setProxyHostPort(props.getProperty("liveweb.proxyHostPort"));
    liveweb.setConnectionTimeoutMS(Integer.parseInt(props.getProperty("liveweb.timeout", "10000")));
    liveweb.setConnectionTimeoutMS(Integer.parseInt(props.getProperty("liveweb.timeout", "10000")));
   
    // Init Redis Conn
    RedisConnectionManager redisConnMan = new RedisConnectionManager();
    redisConnMan.setHost(props.getProperty("redis.host"));
    redisConnMan.setPort(Integer.parseInt(props.getProperty("redis.port")));
View Full Code Here

TOP

Related Classes of org.archive.wayback.liveweb.LiveRobotsNoCache

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.