org.seasar.robot
クラス S2RobotContext
java.lang.Object
org.seasar.robot.S2RobotContext
public class S2RobotContext
- extends Object
- 作成者:
- shinsuke
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionId
protected String sessionId
activeThreadCount
protected Integer activeThreadCount
activeThreadCountLock
protected Object activeThreadCountLock
accessCount
protected volatile Long accessCount
accessCountLock
protected Object accessCountLock
running
protected volatile boolean running
urlFilter
protected UrlFilter urlFilter
ruleManager
protected RuleManager ruleManager
intervalController
protected IntervalController intervalController
robotTxtUrlSet
protected Set<String> robotTxtUrlSet
numOfThread
protected int numOfThread
- The number of a thread
maxThreadCheckCount
protected int maxThreadCheckCount
maxDepth
protected int maxDepth
- a max depth for crawling. -1 is no depth check.
maxAccessCount
protected long maxAccessCount
- a max count to access urls. 0 is no limit to access it.
S2RobotContext
public S2RobotContext()
getSessionId
public String getSessionId()
setSessionId
public void setSessionId(String sessionId)
getActiveThreadCount
public Integer getActiveThreadCount()
setActiveThreadCount
public void setActiveThreadCount(Integer activeThreadCount)
getAccessCount
public Long getAccessCount()
setAccessCount
public void setAccessCount(Long accessCount)
isRunning
public boolean isRunning()
setRunning
public void setRunning(boolean running)
getUrlFilter
public UrlFilter getUrlFilter()
setUrlFilter
public void setUrlFilter(UrlFilter urlFilter)
getRuleManager
public RuleManager getRuleManager()
setRuleManager
public void setRuleManager(RuleManager ruleManager)
getIntervalController
public IntervalController getIntervalController()
setIntervalController
public void setIntervalController(IntervalController intervalController)
getRobotTxtUrlSet
public Set<String> getRobotTxtUrlSet()
setRobotTxtUrlSet
public void setRobotTxtUrlSet(Set<String> robotTxtUrlSet)
getActiveThreadCountLock
public Object getActiveThreadCountLock()
getAccessCountLock
public Object getAccessCountLock()
getNumOfThread
public int getNumOfThread()
setNumOfThread
public void setNumOfThread(int numOfThread)
getMaxThreadCheckCount
public int getMaxThreadCheckCount()
setMaxThreadCheckCount
public void setMaxThreadCheckCount(int maxThreadCheckCount)
getMaxDepth
public int getMaxDepth()
setMaxDepth
public void setMaxDepth(int maxDepth)
getMaxAccessCount
public long getMaxAccessCount()
setMaxAccessCount
public void setMaxAccessCount(long maxAccessCount)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.