GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GEO::CODER::MANY::SCHEDULER (3)

.ds Aq ’

NAME

Scheduler - Abstract base class for schedulers.

CONTENTS

DESCRIPTION

Abstract base class for schedulers. Should not be instantiated directly.

METHODS

    new

Should never be called; subclasses should override.

    get_next_unique

get_next_unique should return the next scheduled item, according to whatever scheduling scheme the subclass implements. The same item should *not* be returned more than once between calls to reset_available.

    next_available

If there are items in the scheduler that have not already been dispensed since the last call to ’reset_available’, next_available should return the minimum amount of time (in floating seconds) until one of them might become available.

If there will never be any such items available, it should return -1.

In Geo::Coder::Many, next_available is used to tell the result-picker whether it is worth waiting for more results.

    reset_available

This is called in order to indicate that all items should once more be made available.

    process_feedback

This is called to provide information about the performance of a geocoder. Does nothing by default.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GEO::CODER::MANY::SCHEDULER (3) 2014-06-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.