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
App::Netdisco::JobQueue(3) User Contributed Perl Documentation App::Netdisco::JobQueue(3)

App::Netdisco::JobQueue

Interface for Netdisco job queue.

There are no default exports, however the ":all" tag will export all subroutines.

Returns a list of randomly selected queued jobs. Default is to return one job, unless $num is provided. Jobs are returned as objects which implement the Netdisco job instance interface (see below).

Returns the list of jobs currently booked out to this processing node (denoted by the local hostname). Jobs are returned as objects which implement the Netdisco job instance interface (see below).

Returns a list of IP addresses of devices which currently have a job of the given $job_type queued (e.g. "discover", "arpnip", etc).

Performs initialisation of the Job Queue backend.

Returns a list of the most recent jobs as defined in "jobs_qdepth" from the queue. Jobs are returned as objects which implement the Netdisco job instance interface (see below).

Returns a list of jobs which have been entered into the queue by the passed $user. Jobs are returned as objects which implement the Netdisco job instance interface (see below).

Marks a job in the queue as booked out to this processing node (denoted by the local hostname). The $job parameter must be an object which implements the Netdisco job instance interface (see below).

Returns true if successful else returns false.

Marks a job in the queue as available for taking. This is usually done after a job is booked but the processing node changes its mind and decides to return the job to the queue. The $job parameter must be an object which implements the Netdisco job instance interface (see below).

Returns true if successful else returns false.

Marks a job as complete. The $job parameter must be an object which implements the Netdisco job instance interface (see below). The queue item's status, log and finished fields will be updated from the passed $job.

Returns true if successful else returns false.

Adds the passed jobs to the queue.

If passed the ID of a job, deletes it from the queue. Otherwise deletes ALL jobs from the queue.

2022-06-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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