The JobInfo class is just a storage container for some batch job realted pieces of information. It contains things like a job id, the process id, the stdout data and the like.
# File lib/BatchProcessor.rb, line 28 28: def initialize(jobId, block, tag) 29: # The job id. A unique number that is used by the BatchProcessor objects 30: # to indentify jobs. 31: @jobId = jobId 32: # This the the block of code to be run as external process. 33: @block = block 34: # The tag can really be anything that the user of BatchProcessor needs 35: # to uniquely identify the job. 36: @tag = tag 37: # The pipe to transfer stdout data from the child to the parent. 38: @stdoutP, @stdoutC = nil 39: # The stdout output of the child 40: @stdout = '' 41: # This flag is set to true when the EOT character has been received. 42: @stdoutEOF = false 43: # The pipe to transfer stderr data from the child to the parent. 44: @stderrP, @stderrC = nil 45: # The stderr output of the child 46: @stderr = '' 47: # This flag is set to true when the EOT character has been received. 48: @stderrEOT = false 49: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.