Method: Fairy::CSegSplit#each_export_by
- Defined in:
- lib/fairy/master/c-seg-split.rb
#each_export_by(njob, mapper, &block) ⇒ Object
Log::debug(self, “START_EXPORT: #Fairy::CSegSplit.expexp.class #href="exp">export2njob.class”)
njob.start_export
Log::debug(self, “START_EXPORT:EE”)
exp
end
79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/fairy/master/c-seg-split.rb', line 79 def each_export_by(njob, mapper, &block) njob.exports.each do |exp| @no_of_exports_mutex.synchronize do exp.no = @no_of_exports # exp.key = njob.key @no_of_exports += 1 end block.call exp end end |