class SimpleWorker::AbstractListener

Public Instance Methods

on_interrupted() click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 31
def on_interrupted
end
on_log(hostname, msg) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 28
def on_log(hostname, msg)
end
on_node_start(hostname) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 10
def on_node_start(hostname)
end
on_node_stop(hostname) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 13
def on_node_stop(hostname)
end
on_start(jobid) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 4
def on_start(jobid)
end
on_stop() click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 7
def on_stop
end
on_task_active(hostname, task) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 19
def on_task_active(hostname, task)
end
on_task_expire(hostname, task) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 25
def on_task_expire(hostname, task)
end
on_task_start(hostname, task) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 16
def on_task_start(hostname, task)
end
on_task_stop(hostname, task) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 22
def on_task_stop(hostname, task)
end
on_timeout() click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 34
def on_timeout
end
update(meth, *args) click to toggle source
# File lib/simpleworker/abstract_listener.rb, line 37
def update(meth, *args)
  __send__(meth, *args)
end