Class: SimpleWorker::AbstractListener
- Inherits:
-
Object
- Object
- SimpleWorker::AbstractListener
show all
- Defined in:
- lib/simpleworker/abstract_listener.rb
Instance Method Summary
collapse
Instance Method Details
#on_interrupted ⇒ Object
31
32
|
# File 'lib/simpleworker/abstract_listener.rb', line 31
def on_interrupted
end
|
#on_log(hostname, msg) ⇒ Object
28
29
|
# File 'lib/simpleworker/abstract_listener.rb', line 28
def on_log(hostname, msg)
end
|
#on_node_start(hostname) ⇒ Object
10
11
|
# File 'lib/simpleworker/abstract_listener.rb', line 10
def on_node_start(hostname)
end
|
#on_node_stop(hostname) ⇒ Object
13
14
|
# File 'lib/simpleworker/abstract_listener.rb', line 13
def on_node_stop(hostname)
end
|
#on_start(jobid) ⇒ Object
4
5
|
# File 'lib/simpleworker/abstract_listener.rb', line 4
def on_start(jobid)
end
|
#on_stop ⇒ Object
7
8
|
# File 'lib/simpleworker/abstract_listener.rb', line 7
def on_stop
end
|
#on_task_active(hostname, task) ⇒ Object
19
20
|
# File 'lib/simpleworker/abstract_listener.rb', line 19
def on_task_active(hostname, task)
end
|
#on_task_expire(hostname, task) ⇒ Object
25
26
|
# File 'lib/simpleworker/abstract_listener.rb', line 25
def on_task_expire(hostname, task)
end
|
#on_task_start(hostname, task) ⇒ Object
16
17
|
# File 'lib/simpleworker/abstract_listener.rb', line 16
def on_task_start(hostname, task)
end
|
#on_task_stop(hostname, task) ⇒ Object
22
23
|
# File 'lib/simpleworker/abstract_listener.rb', line 22
def on_task_stop(hostname, task)
end
|
#on_timeout ⇒ Object
34
35
|
# File 'lib/simpleworker/abstract_listener.rb', line 34
def on_timeout
end
|
#update(meth, *args) ⇒ Object
37
38
39
|
# File 'lib/simpleworker/abstract_listener.rb', line 37
def update(meth, *args)
__send__(meth, *args)
end
|