|
|
| |
App::PFM::JobHandler(3) |
User Contributed Perl Documentation |
App::PFM::JobHandler(3) |
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).
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |