comirva.web.crawling.agmis
Class DownloadControlData

java.lang.Object
  extended by 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).


Constructor Summary
DownloadControlData(String host)
           
DownloadControlData(String host, Long timestamp)
           
 
Method Summary
 String getHost()
           
 Long getTimestamp()
           
 void setHost(String host)
           
 void setTimestamp(long timestamp)
           
 void setTimestamp(Long timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadControlData

public DownloadControlData(String host,
                           Long timestamp)

DownloadControlData

public DownloadControlData(String host)
Method Detail

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