1Beanstalk::Job(3) User Contributed Perl Documentation Beanstalk::Job(3)
2
3
4
6 Beanstalk::Job - Class to represent a job from a beanstalkd server
7
11 id Returns job id
12
13 client
14 Returns Beanstalk::Client object for the server the job resides on
15
16 buried
17 Returns true if the job is buried
18
19 reserved
20 Returns true if the job was created via a reserve command and has
21 not been deleted, buried or released
22
23 data
24 Returns the raw data for the beanstalkd server for the job
25
26 error
27 Returns the last error
28
29 stats
30 Return a Stats object for this job. See Beanstalk::Client for a
31 list of methods available.
32
33 delete
34 Tell the server to delete this job
35
36 touch
37 Calling "touch" on a reserved job will reset the time left for the
38 job to complete back to the original ttr value.
39
40 peek
41 Peek this job on the server.
42
43 release
44 Release the job.
45
46 bury
47 Tell the server to bury the job
48
49 args
50 Decode and return the raw data from the beanstalkd server
51
52 tube
53 Return the name of the tube the job is in
54
55 ttr Returns the jobs time to run, in seconds.
56
57 priority
58 Return the jobs priority
59
61 Beanstalk::Pool, Beanstalk::Client, Beanstalk::Stats
62
64 Graham Barr <gbarr@pobox.com>
65
67 Copyright (C) 2008 by Graham Barr.
68
69 This program is free software; you can redistribute it and/or modify it
70 under the same terms as Perl itself.
71
72
73
74perl v5.38.0 2023-07-20 Beanstalk::Job(3)