Class: Fairy::CFind
- Extended by:
- Forwardable
- Defined in:
- lib/fairy/master/c-find.rb
Defined Under Namespace
Classes: CFindResult, CLocalFind
Instance Attribute Summary
Attributes inherited from CIOFilter
Attributes included from CInputtable
Instance Method Summary collapse
-
#initialize(controller, opts, block_source) ⇒ CFind
constructor
A new instance of CFind.
- #input=(input) ⇒ Object
- #update_find ⇒ Object
Methods inherited from CIOFilter
Methods included from CInputtable
Methods inherited from CFilter
#abort_create_node, #add_node, #assgin_number_of_nodes?, #bind_export, #break_create_node, #break_running, #create_and_add_node, #create_import, #create_node, #create_nodes, #def_job_pool_variable, #each_assigned_filter, #each_export_by, #each_node, #each_node_exist_only, #handle_exception, #input, #job_pool_dict, #job_pool_variable, #njob_creation_params, #node_class_name, #nodes, #number_of_nodes, #number_of_nodes=, #pool_dict, #postmapping_policy, #start_create_nodes, #start_export, #start_watch_node_status, #update_status, watch_status, watch_status=, #watch_status?
Constructor Details
#initialize(controller, opts, block_source) ⇒ CFind
Returns a new instance of CFind.
18 19 20 21 22 23 24 25 26 |
# File 'lib/fairy/master/c-find.rb', line 18 def initialize(controller, opts, block_source) super @block_source = block_source @clocal_find = CLocalFind.new(controller, opts, block_source) @cfind_result = CFindResult.new(controller, opts, self) end |
Instance Method Details
#input=(input) ⇒ Object
31 32 33 34 |
# File 'lib/fairy/master/c-find.rb', line 31 def input=(input) @clocal_find.input = input @cfind_result.input = @clocal_find end |
#update_find ⇒ Object
36 37 38 |
# File 'lib/fairy/master/c-find.rb', line 36 def update_find @clocal_find.break_running end |