comirva.web.crawling.agmis
Class DownloadControlData
java.lang.Object
comirva.web.crawling.agmis.DownloadControlData
class DownloadControlData
- extends Object
Class to hold the data structure to
manage downloads (especially to ensure
minimal time limits between querying the
same host address).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadControlData
public DownloadControlData(String host,
Long timestamp)
DownloadControlData
public DownloadControlData(String host)
getHost
public String getHost()
- Returns:
- the host
setHost
public void setHost(String host)
- Parameters:
host
- the host to set
getTimestamp
public Long getTimestamp()
- Returns:
- the timestamp
setTimestamp
public void setTimestamp(long timestamp)
- Parameters:
timestamp
- the timestamp to set
setTimestamp
public void setTimestamp(Long timestamp)
- Parameters:
timestamp
- the timestamp to set