Beanstalk::Job(3)

πŸ“¦
version 1.07 Β· 2 versions
, in fedora 43

πŸ’– Beanstalk::Job πŸ’–

okay bestie, so this is Beanstalk::Job β€” it's the Perl class that represents a job from a beanstalkd server. that's it, that's the whole vibe. it's giving "object that knows its own business." πŸŽ€

part of User Contributed Perl Documentation, obvi. iykyk.


✨ SYNOPSIS ✨

literally nothing here, bestie. no code, no example, nada. the synopsis is empty. we move. πŸ’…


🌸 DESCRIPTION 🌸

also empty!! 🫢 there is no description section content in this page. the methods below are the whole meal. periodt.


πŸ‘‘ METHODS πŸ‘‘

here's the lineup, and every single one of them matters, no skips:

  • id β€” returns the job id. that's it. the little name tag. 🏷️
  • client β€” returns the Beanstalk::Client object for the server the job lives on. like, whose house is this job at.
  • buried β€” returns true if the job is buried. πŸ’€ (metaphorically. it's a server thing.)
  • reserved β€” returns true if the job was created via a reserve command and has not been deleted, buried or released. so: still on the hook, no escape yet. πŸ‘€
  • data β€” returns the raw data for the beanstalkd server for the job. the unfiltered, unedited, straight-from-the-source tea. πŸ“
  • error β€” returns the last error. the receipts of what went wrong most recently. 😭
  • stats β€” returns a Stats object for this job. see Beanstalk::Client for a list of methods available. (yes, going to check that list is the assignment. do your homework bestie.)
  • delete β€” tell the server to delete this job. bye boo πŸ‘‹
  • touch β€” calling touch on a reserved job will reset the time left for the job to complete back to the original ttr value. it's the "extension on the deadline" move. ⏰✨
  • peek β€” peek this job on the server. look, don't touch. πŸ™ˆ
  • release β€” release the job. let it go back out into the world. πŸ¦‹
  • bury β€” tell the server to bury the job. rip to that job fr fr. ⚰️
  • args β€” decode and return the raw data from the beanstalkd server. the data but make it readable. πŸ”₯
  • tube β€” return the name of the tube the job is in. yes, a tube. that's the terminology. it's iconic, don't question it. 🧚
  • ttr β€” returns the job's time to run, in seconds. the countdown clock, basically. ⏳
  • priority β€” return the job's priority. who gets picked first, lowkey.

🌈 SEE ALSO 🌈

go read these too, bestie, they're the friend group:

  • Beanstalk::Pool
  • Beanstalk::Client
  • Beanstalk::Stats

πŸ’œ AUTHOR πŸ’œ

Graham Barr <gbarr@pobox.com> β€” the legend. πŸ‘‘


Copyright (C) 2008 by Graham Barr.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

that's the license, bestie. same terms as Perl itself. don't be weird about it. 🫢

and that's a wrap!! this page ships as part of perl v5.42.0, dated 2025-07-25, and its manual name is Beanstalk::Job(3). slay, stay hydrated, go delete some jobs responsibly. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from