Gearman::Job(3pm)

πŸ“¦
version 2.004.015 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– Gearman::Job πŸ’–

okay bestie, listen up β€” this is the manual page for Gearman::Job, which lives in the User Contributed Perl Documentation corner of the Perl universe. Pull up a chair, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

Gearman::Job β€” a Job in the gearman distributed job system. That's the whole name. Short, sweet, iconic. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So Gearman::Job is the object that's handed to the worker subrefs. That's it, that's the vibe. When a worker does its thing, this is the little bundle of joy it gets passed. main character energy, fr fr ✨


🌸 METHODS 🌸

πŸ’… set_status($numerator, $denominator)

Not me updating a status like it's my Instagram story β€” this one updates the status of the job (most likely, a long-running job) and sends it back to the job server. πŸ“‘

$numerator and $denominator should represent the percentage completion of the job. So like, if you're 3/4 of the way done, that's your moment. Slay. πŸŽ€


🧚 argref()

returns the scalar argument that the client sent to the job server. 🫢


πŸ’œ arg()

also returns the scalar argument that the client sent to the job server. Same energy, different spelling. iykyk ✨


⭐ handle()

returns handle. πŸŽ€

That's it. That's the method. No notes, it just returns handle. πŸ’…


🌈 SEE ALSO 🌈

Nothing here bestie β€” the original page doesn't list any SEE ALSO refs, so we're keeping it exactly that way. No cap, I'm not inventing friends for it. πŸ™ˆ


heads up: this page has no warnings, no bugs section, no author or copyright line, and no license blurb. If you were waiting for one, she's not coming. πŸ’€

and that's the whole page, bestie!! This version came from perl v5.26.2, dated 2018-08-30, and it's filed under Gearman::Job(3pm). Go forth and process them jobs, you absolute legend πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from