Alex Balhatchet > Geo-Coder-Many-0.4 > Geo::Coder::Many::Scheduler::UniquenessScheduler

Download:
Geo-Coder-Many-0.4.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Geo-Coder-Many-0.46-5

NAME ^

Geo::Coder::Many::Scheduler::UniquenessScheduler - Scheduler base class which ensures uniqueness

DESCRIPTION ^

A base class for enforcing correct behaviour of get_next_unique (and the other methods) even when a scheduling scheme might not take this into account. Note: this may alter the properties of the scheduling scheme!

Subclasses should

METHODS ^

new

Creates a UniquenessScheduler object and returns it. This should not be called directly, but by any subclasses, via SUPER.

reset_available

Update the set of currently available items to the full set of items initially provided.

get_next_unique

Uses _get_next (which has been overridden) to obtain the next scheduled item,

next_available

Zero if there are items remaining; undef if there aren't.

_get_next

Shoudl be implemented by a subclass

process_feedback

Does nothing by default; may be overridden

syntax highlighting: