Class: Fairy::CInputIota
- Inherits:
-
CInput
show all
- Defined in:
- lib/fairy/master/c-input-iota.rb
Instance Method Summary
collapse
Methods inherited from CInput
#output=
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, #job_pool_dict, #job_pool_variable, #njob_creation_params, #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, last) ⇒ CInputIota
Returns a new instance of CInputIota.
15
16
17
18
|
# File 'lib/fairy/master/c-input-iota.rb', line 15
def initialize(controller, opts, last)
super
@last = last - 1
end
|
Instance Method Details
33
34
35
|
# File 'lib/fairy/master/c-input-iota.rb', line 33
def input
@ciota_place
end
|
#node_class_name ⇒ Object
20
21
22
|
# File 'lib/fairy/master/c-input-iota.rb', line 20
def node_class_name
"PInputIota"
end
|
#start ⇒ Object
24
25
26
27
28
29
30
31
|
# File 'lib/fairy/master/c-input-iota.rb', line 24
def start
offset = 0
offset = @opts[:offset] if @opts[:offset]
split_no = @opts[:SPLIT_NO]
@ciota_place = CIotaPlace.new(@last, offset, split_no)
start_create_nodes
end
|