NAME

Labrador::Crawler::Manager::Simple

DESCRIPTION

This Manager handles simple operations with the dispatcher, in relation to enqueuing and dequeueing. No attempt is made to queue any URLs locally. Using this manager is not as fast as using a partitioned manager.

METHODS

init()

Initialise the module. Called automatically by new()

next_url()

Fetch the next url to crawl from the dispatcher

finished_url($url)

Mark $url as finished.

failed_url($url)

Mark $url as failed.

found_urls($url, @urls)

Enqeueue @urls that were found on $url

when_next_available()

If no work available, when to try next.

queue_status

A simple message for waiting.

get_stats

Returns an empty array, this implementation does not support any statistics

REVISION

	$Revision: 1.5 $