Default constructor for the Job class.
Constructor for the Job class that allows it to handle strings of any type.
This function appends a string (or wstring or dstring) to the data stored within a Job.
Fetches the body of the job, converting it to a dstring in the process.
Fetches the body of the job, converting it to a string in the process.
Fetches the body of the job, converting it to a wstring in the process.
This function buries a job on Beanstalk. Note that only reserved jobs can be buried.
This function deletes a job from Beanstalk. Note that this function can only be called on Jobs that have a been put into or reserved out of a Beanstalk server.
This function releases a job back to Beanstalk. Note that only reserved jobs can be released.
This function touchs a job on Beanstalk, extending its time to run. Note that only reserved jobs can be touched.
This function appends an array of ubytes to the data stored within a Job object.
This function provides package level access to the data associated with a Job object.
Getter for the job id property. Note that this property will only be valid for jobs that have been added to Beanstalk or extract from Beanstalk. If called on a Job that doesn't meet these criteria an exception will be thrown.
Setter for the job id property (visible only in package).
This function returns the Tube that a job was either put on or reserved from. If the Job hasn't been put, reserved or peeked then this will be null.
Tube property setter, only accessible within the package.
The default delay applied to jobs.
The default priority given to jobs.
The default time to run applied to jobs.
This class models a Beanstalkd job. At it's lowest level a Job is really just a collection of bytes but this function provides some addition functionality for interacting with jobs.