Class: Fairy::PExec
- Inherits:
-
PSingleExportInput
- Object
- PFilter
- PIOFilter
- PSingleExportInput
- Fairy::PExec
- Defined in:
- lib/fairy/node/p-exec.rb
Constant Summary
Constants included from PSingleExportable
Fairy::PSingleExportable::END_OF_STREAM, Fairy::PSingleExportable::ST_EXPORT_FINISH, Fairy::PSingleExportable::ST_WAIT_EXPORT_FINISH
Constants inherited from PIOFilter
Fairy::PIOFilter::ST_WAIT_IMPORT
Constants inherited from PFilter
Fairy::PFilter::END_OF_STREAM, Fairy::PFilter::ST_ACTIVATE, Fairy::PFilter::ST_FINISH, Fairy::PFilter::ST_INIT
Instance Attribute Summary
Attributes included from PSingleExportable
Attributes inherited from PFilter
#IGNORE_EXCEPTION, #id, #log_id, #ntask
Instance Method Summary collapse
- #basic_each(&block) ⇒ Object
-
#initialize(id, ntask, bjob, opts = nil) ⇒ PExec
constructor
A new instance of PExec.
- #start(nfileplace) ⇒ Object (also: #open)
Methods included from PSingleExportable
#start_export, #terminate, #wait_export_finish
Methods inherited from PIOFilter
Methods inherited from PFilter
#abort_running, #basic_start, #break_running, #each, #global_break, #global_break_from_other, #handle_exception, #key, #key=, #next, #no, #no=, #notice_status, #processor, #start_export, #start_watch_status, #status=, #terminate, #terminate_proc
Constructor Details
#initialize(id, ntask, bjob, opts = nil) ⇒ PExec
Returns a new instance of PExec.
13 14 15 |
# File 'lib/fairy/node/p-exec.rb', line 13 def initialize(id, ntask, bjob, opts=nil) super end |
Instance Method Details
#basic_each(&block) ⇒ Object
26 27 28 |
# File 'lib/fairy/node/p-exec.rb', line 26 def basic_each(&block) block.call @nfileplace.url end |
#start(nfileplace) ⇒ Object Also known as: open
17 18 19 20 21 |
# File 'lib/fairy/node/p-exec.rb', line 17 def start(nfileplace) @nfileplace = nfileplace self.no = nfileplace.no self end |