This constructor creates a ServerCache that is all memory-based using
Hashtables. Used for unit testing only
(Use
ServerCache.ServerCache(CrawlController) when crawling).
Parameters: sh - throws: Exception -
Get the
CrawlHost associated with name.
Parameters: hostname - Host name we're to return Host for. CrawlHost instance that matches the passed Host name.
Get the
CrawlHost associated with curi.
Parameters: cauri - CandidateURI we're to return Host for. CandidateURI instance that matches the passed Host name.
Get the
CrawlServer associated with name.
Parameters: serverKey - Server name we're to return server for. CrawlServer instance that matches the passed server name.
Get the
CrawlServer associated with curi.
Parameters: cauri - CandidateURI we're to get server from. CrawlServer instance that matches the passed CandidateURI.