comirva.config
Interface AnySearchConfig

All Known Implementing Classes:
PageCountsRetrieverConfig, WebCrawlingConfig

public interface AnySearchConfig

This interface defines general configuration settings for web crawls using the AnySearch-class of the package comirva.io.searchengine.


Method Summary
 int getFirstRequestedPageNumber()
          Returns the number of the first requested page (usually 0)
 int getIntervalBetweenRetries()
          Returns the interval between two retries in case of failure (in seconds).
 int getNumberOfRequestedPages()
          Returns the number of requested web pages per crawl.
 int getNumberOfRetries()
          Returns the number of retries in case of failure to raise a search query.
 

Method Detail

getNumberOfRetries

int getNumberOfRetries()
Returns the number of retries in case of failure to raise a search query.

Returns:
the number of retries

getIntervalBetweenRetries

int getIntervalBetweenRetries()
Returns the interval between two retries in case of failure (in seconds).

Returns:
the interval between two retries

getNumberOfRequestedPages

int getNumberOfRequestedPages()
Returns the number of requested web pages per crawl.

Returns:
the number of requested web pages

getFirstRequestedPageNumber

int getFirstRequestedPageNumber()
Returns the number of the first requested page (usually 0)

Returns:
the number of the first requested page