Class: Fairy::CFind

Inherits:
CIOFilter show all
Extended by:
Forwardable
Defined in:
lib/fairy/master/c-find.rb

Defined Under Namespace

Classes: CFindResult, CLocalFind

Instance Attribute Summary

Attributes inherited from CIOFilter

#input

Attributes included from CInputtable

#input

Instance Method Summary collapse

Methods inherited from CIOFilter

#node_class, #output=

Methods included from CInputtable

#break_running, #inputtable?

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_findObject



36
37
38
# File 'lib/fairy/master/c-find.rb', line 36

def update_find
  @clocal_find.break_running
end