Exemplo n.º 1
0
 def task_revoked(event):
     state.event(event)
     monitorManager.fire(TASK_REVOKED, state, event, app)
Exemplo n.º 2
0
 def task_retried(event):
     state.event(event)
     monitorManager.fire(TASK_RETRIED, state, event, app)
Exemplo n.º 3
0
 def worker_offline(event):
     state.event(event)
     #         print state,event
     monitorManager.fire(WORKER_OFFLINE, state, event, app)
Exemplo n.º 4
0
 def task_started(event):
     state.event(event)
     monitorManager.fire(TASK_STARTED, state, event, app)
Exemplo n.º 5
0
 def worker_online(event):
     state.event(event)
     monitorManager.fire(WORKER_ONLINE, state, event, app)
Exemplo n.º 6
0
 def task_received(event):
     state.event(event)
     monitorManager.fire(TASK_RECEIVED, state, event, app)
Exemplo n.º 7
0
 def task_sent(event):
     state.event(event)
     monitorManager.fire(TASK_SENT, state, event, app)
Exemplo n.º 8
0
 def task_succeeded(event):
     state.event(event)
     monitorManager.fire(TASK_SUCCEEDED, state, event, app)
Exemplo n.º 9
0
 def task_failed(event):
     #         print state.alive_workers()
     state.event(event)
     monitorManager.fire(TASK_FAILED, state, event, app)