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

App::PFM::JobHandler

PFM JobHandler class, used to manage jobs (commands running in the background).

_init()
Initializes new instances. Called from the constructor.
_check_reaper_necessity()
Finds out how many jobs are still running. Unregisters the reaper if possible.
job( [ int $index [, App::PFM::Job::Abstract $job ] ] )
Getter/setter for the job with the specified jobnumber.
start(string $subclass [, array @args ] )
Starts one job of the type specified. Adds the job to the internal job stack. Returns the jobnumber.

Arguments are passed to the constructor of the job.

stop(int $jobno)
Stops the job with the provided jobnumber.
stopall(int $jobno)
Stops all jobs.
poll(int $jobno)
Polls the job with the number provided. If it is done, the job is removed from the stack. Returns a boolean indicating if the job is still running.
pollall()
Polls all jobs on the stack for output. If they are done, they are removed from the stack. It is the job's responsibility to return data to the application.
count()
Counts the number of running jobs.

pfm(1), App::PFM::Job::Abstract(3pm), App::PFM::Job::Bazaar(3pm), App::PFM::Job::CheckUpdates(3pm), App::PFM::Job::Cvs(3pm), App::PFM::Job::Git(3pm), App::PFM::Job::RCS(3pm), App::PFM::Job::Mercurial(3pm), App::PFM::Job::Subversion(3pm).
2014-04-09 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.