org.seasar.robot
クラス S2Robot
java.lang.Object
org.seasar.robot.S2Robot
- すべての実装されたインタフェース:
- Runnable
public class S2Robot
- extends Object
- implements Runnable
S2Robot manages/controls a crawling information.
- 作成者:
- shinsuke
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
urlQueueService
protected UrlQueueService urlQueueService
dataService
protected DataService dataService
urlFilter
protected UrlFilter urlFilter
ruleManager
protected RuleManager ruleManager
container
protected S2Container container
intervalController
protected IntervalController intervalController
clientFactory
protected S2RobotClientFactory clientFactory
robotContext
protected S2RobotContext robotContext
background
protected boolean background
daemon
protected boolean daemon
threadPriority
protected int threadPriority
parentThread
protected Thread parentThread
S2Robot
public S2Robot()
addUrl
public void addUrl(String url)
getSessionId
public String getSessionId()
setSessionId
public void setSessionId(String sessionId)
execute
public String execute()
awaitTermination
public void awaitTermination()
awaitTermination
public void awaitTermination(long millis)
cleanup
public void cleanup(String sessionId)
addIncludeFilter
public void addIncludeFilter(String regexp)
addExcludeFilter
public void addExcludeFilter(String regexp)
stop
public void stop()
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)
getClientFactory
public S2RobotClientFactory getClientFactory()
isBackground
public boolean isBackground()
setBackground
public void setBackground(boolean background)
isDaemon
public boolean isDaemon()
setDaemon
public void setDaemon(boolean daemon)
run
public void run()
- 定義:
- インタフェース
Runnable
内の run
getRobotContext
public S2RobotContext getRobotContext()
setNumOfThread
public void setNumOfThread(int numOfThread)
setMaxThreadCheckCount
public void setMaxThreadCheckCount(int maxThreadCheckCount)
setMaxDepth
public void setMaxDepth(int maxDepth)
setMaxAccessCount
public void setMaxAccessCount(long maxAccessCount)
setThreadPriority
public void setThreadPriority(int threadPriority)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.