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 27 27: def initialize(jobId, block, tag) 28: # The job id. A unique number that is used by the BatchProcessor objects 29: # to indentify jobs. 30: @jobId = jobId 31: # This the the block of code to be run as external process. 32: @block = block 33: # The tag can really be anything that the user of BatchProcessor needs 34: # to uniquely identify the job. 35: @tag = tag 36: # The pipe to transfer stdout data from the child to the parent. 37: @stdoutP, @stdoutC = nil 38: # The stdout output of the child 39: @stdout = '' 40: # This flag is set to true when the EOT character has been received. 41: @stdoutEOF = false 42: # The pipe to transfer stderr data from the child to the parent. 43: @stderrP, @stderrC = nil 44: # The stderr output of the child 45: @stderr = '' 46: # This flag is set to true when the EOT character has been received. 47: @stderrEOT = false 48: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.