Class: Wakame::Trigger
Constant Summary
AttributeHelper::CLASS_TYPE_KEY, AttributeHelper::CONVERT_CLASSES, AttributeHelper::PRIMITIVE_CLASSES
Instance Method Summary
collapse
#dump_attrs, #retrieve_attr_attribute
included, #run_filter
Instance Method Details
#agent_monitor ⇒ Object
17
18
19
|
# File 'lib/wakame/trigger.rb', line 17
def agent_monitor
master.agent_monitor
end
|
#cleanup ⇒ Object
32
33
|
# File 'lib/wakame/trigger.rb', line 32
def cleanup
end
|
#command_queue ⇒ Object
21
22
23
|
# File 'lib/wakame/trigger.rb', line 21
def command_queue
master.command_queue
end
|
#master ⇒ Object
def service_cluster
action_manager.service_cluster
end
alias :cluster :service_cluster
13
14
15
|
# File 'lib/wakame/trigger.rb', line 13
def master
Master.instance
end
|
#register_hooks(service_cluster_id) ⇒ Object
29
30
|
# File 'lib/wakame/trigger.rb', line 29
def register_hooks(service_cluster_id)
end
|
#trigger_action(action) ⇒ Object
25
26
27
|
# File 'lib/wakame/trigger.rb', line 25
def trigger_action(action)
job_id = master.action_manager.trigger_action(action)
end
|